Files
static-pages/sync.sh
Naomi Carrigan 4d73218d45
Some checks failed
Code Analysis / SonarQube (push) Failing after 13s
fix: include products in script
2025-06-27 16:27:42 -07:00

10 lines
332 B
Bash
Executable File

#! /usr/bin/bash
dirs=("bsky" "chat" "games" "link-redirector" "testimonials" "manual" "sitemap" "music" "books" "products");
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."