mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
10 lines
245 B
Bash
10 lines
245 B
Bash
|
#!/bin/sh
|
||
|
for i in $(ls -d */);
|
||
|
do
|
||
|
if curl --output /dev/null --silent --head --fail $(cat $i/backgroundurl.txt); then
|
||
|
echo "$i background successfully downloads";
|
||
|
else
|
||
|
echo -e "\033[0;31m$i background download fails\033[0m"
|
||
|
fi
|
||
|
done
|