8 lines
206 B
Bash
8 lines
206 B
Bash
|
#!/bin/bash
|
||
|
[[ -z "$1" ]] && { echo "Error: Auflösung nicht angegeben"; exit 1; }
|
||
|
|
||
|
FOLDR="${HOME}/Bilder/Wallpaper_$1"
|
||
|
mkdir -p ${FOLDR}
|
||
|
for i in $(cat listen/$1.txt); do wget -P ${FOLDR}/ $i; done
|
||
|
exit 0
|