configuration/local/bin/anselmage
2021-01-23 22:39:40 +01:00

8 lines
209 B
Bash
Executable File

#!/bin/sh
[ "$#" -eq 0 ] && exit
torsocks curl -O "$@"
image="$(basename "$@")"
rifle -fF "$image"
mv "$image" /data/pictures/anselmages/
ln -s ../anselmages/"$image" /data/pictures/background-source/"$image"