#!/usr/bin/fish # tip! use a systemd timer or cronjob on this one for user in /home/*/public_html set user (string replace "/home/" "" $user) set user (string replace "/public_html" "" $user) echo shooting $user SITE_DIR=. wget "https://screens.southlondon.cc/https%3A%2F%2Fsouthlondon.cc%2F~$user%2F" -O $SITE_DIR/static/shots/$user.png end