diff options
Diffstat (limited to 'sync.sh')
-rwxr-xr-x | sync.sh | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -0,0 +1,25 @@ +# sync all the media directories, this only has to be run when new media is added + +# root media directory +rsync -r /var/www/media /var/www/kawaii/ +rsync -r /var/www/media /var/www/dark/ +rsync -r /var/www/media /var/www/light/ +rsync -r /var/www/media /var/www/nocss/ + +# blog media directory +rsync -r /var/www/blog/media /var/www/kawaii/blog/ +rsync -r /var/www/blog/media /var/www/dark/blog/ +rsync -r /var/www/blog/media /var/www/light/blog/ +rsync -r /var/www/blog/media /var/www/nocss/blog/ + +# waifu media directory +rsync -r /var/www/waifus/media /var/www/kawaii/waifus/ +rsync -r /var/www/waifus/media /var/www/dark/waifus/ +rsync -r /var/www/waifus/media /var/www/light/waifus/ +rsync -r /var/www/waifus/media /var/www/nocss/waifus/ + +# opinions media directory +rsync -r /var/www/opinions/media /var/www/kawaii/opinions/ +rsync -r /var/www/opinions/media /var/www/dark/opinions/ +rsync -r /var/www/opinions/media /var/www/light/opinions/ +rsync -r /var/www/opinions/media /var/www/nocss/opinions/ |