You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "Spitting out todays date and time for the fixed archive copying cron ..."
|
|
|
|
date
|
|
|
|
|
|
|
|
echo "Copying over the doesitsparkjoy.voicegardens.org fixed archive ..."
|
|
|
|
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 ..."
|
|
|
|
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/
|