-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrsync-to-droplet.sh
executable file
·45 lines (27 loc) · 1.19 KB
/
rsync-to-droplet.sh
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
36
37
38
39
40
41
42
43
44
45
# [$]> rsync-to-droplet.sh
# update the index
rsync -zarvh src/index.html droplet:www
# update birthdays
rsync -zarvh src/birthdays/functions.js droplet:www/birthdays
rsync -zarvh src/birthdays/index.html droplet:www/birthdays
# update the icebreakers directory
rsync -zarvh src/icebreakers/ droplet:www/icebreakers
# update the mastery book files
rsync -zarvh src/mastery/init.js droplet:www/mastery
rsync -zarvh src/mastery/javascript.html droplet:www/mastery
rsync -zarvh src/mastery/javascript_datatypes.html droplet:www/mastery
rsync -zarvh src/mastery/mastery.js droplet:www/mastery
rsync -zarvh src/mastery/php.html droplet:www/mastery
# update quotes
rsync -zarvh src/quotes/functions.js droplet:www/quotes
rsync -zarvh src/quotes/index.html droplet:www/quotes
# update stations
rsync -zarvh src/stations/index.html droplet:www/stations
rsync -zarvh src/stations/js/app.js droplet:www/stations/js
# update trades
rsync -zarvh src/trades/index.html droplet:www/trades
# update the utils directory
rsync -zarvh src/utils/ droplet:www/utils
# update websnapchat
rsync -zarvh src/websnapchat/functions.js droplet:www/websnapchat
rsync -zarvh src/websnapchat/index.html droplet:www/websnapchat