summaryrefslogtreecommitdiff
path: root/sync.sh
blob: 15083ef2b81a77e2d64b7dbd7629dbf71d487181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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/