static-pages/sync.sh

10 lines
304 B
Bash
Executable File

#! /usr/bin/bash
dirs=("bsky" "chat" "games" "link-redirector" "resume" "testimonials" "manual");
for dir in "${dirs[@]}"; do
rsync -av $dir prod:/home/nhcarrigan
echo "Synced $dir"
done
echo "mail/index.html must be manually synced to mail:/home/user-data/www/default by a user with sudo access."