LinuxScrips/Linux Desktop scripts/Wallpaper_download.sh

8 lines
206 B
Bash
Raw Permalink Normal View History

2022-02-01 23:49:29 +01:00
#!/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