summaryrefslogtreecommitdiff
path: root/sync.sh
blob: 4cf6b6831cec7eb7fbd32b86528b32252894f351 (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
26
27
28
29
30
31
32
33
34
35
# 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/
rsync -r /var/www/media /var/www/solarized/

# 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/
rsync -r /var/www/blog/media /var/www/solarized/blog/
#posts
rsync -r /var/www/posts/media /var/www/kawaii/posts/
rsync -r /var/www/posts/media /var/www/dark/posts/
rsync -r /var/www/posts/media /var/www/light/posts/
rsync -r /var/www/posts/media /var/www/nocss/posts/
rsync -r /var/www/posts/media /var/www/solarized/posts/

# 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/
rsync -r /var/www/waifus/media /var/www/solarized/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/
rsync -r /var/www/opinions/media /var/www/solarized/opinions/