voicegardens/bin/copy-fixed-archive

15 lines
748 B
Plaintext
Raw Normal View History

#!/bin/bash
echo "Spitting out todays date and time ..."
date
echo "Copying over the doesitsparkjoy.voicegardens.org fixed archive ..."
2020-02-14 13:01:45 +01:00
rm -rf /var/www/doesitsparkjoy.voicegardens.org/voicegardens/archive/*
cp /var/www/doesitsparkjoy.voicegardens.org/voicegardens/fixed-archive/* /var/www/doesitsparkjoy.voicegardens.org/voicegardens/archive/
chown -R voicegardens:voicegardens /var/www/doesitsparkjoy.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/