voicegardens/bin/copy-fixed-archive

15 lines
755 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
2020-02-19 23:04:34 +01:00
echo "Spitting out todays date and time for the fixed archive copying cron ..."
date
echo "Copying over the offline.voicegardens.org fixed archive ..."
rm -rf /var/www/offline.voicegardens.org/voicegardens/archive/*
cp /var/www/offline.voicegardens.org/voicegardens/fixed-archive/* /var/www/doesitsparkjoy.voicegardens.org/voicegardens/archive/
chown -R voicegardens:voicegardens /var/www/offline.voicegardens.org/voicegardens/archive/
echo "Copying over the voicegardens.org fixed archive ..."
2020-02-14 13:01:45 +01:00
rm -rf /var/www/voicegardens.org/voicegardens/archive/*
cp /var/www/voicegardens.org/voicegardens/fixed-archive/* /var/www/voicegardens.org/voicegardens/archive/
chown -R voicegardens:voicegardens /var/www/voicegardens.org/voicegardens/archive/