added misc scripts
This commit is contained in:
parent
52dfbd0ffc
commit
775a72f204
1 changed files with 7 additions and 0 deletions
7
.config/scripts/wgetbb.sh
Executable file
7
.config/scripts/wgetbb.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
creds=~/.bb-creds
|
||||||
|
username=$(awk -F '=' '/username/ {print $2}' $creds)
|
||||||
|
password=$(awk -F '=' '/password/ {print $2}' $creds)
|
||||||
|
|
||||||
|
wget --user="$username" --password="$password" "$1"
|
Loading…
Reference in a new issue