diff --git a/.config/scripts/wgetbb.sh b/.config/scripts/wgetbb.sh new file mode 100755 index 0000000..149b46a --- /dev/null +++ b/.config/scripts/wgetbb.sh @@ -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"