8 lines
196 B
Bash
8 lines
196 B
Bash
|
#!/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"
|