LinuxScrips/Linux Desktop scripts/Wallpaper_download.sh
2022-02-01 23:49:29 +01:00

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