equal
deleted
inserted
replaced
|
1 #!/bin/bash |
|
2 # Sync local Arch Linux repository with remote server |
|
3 #------------------------------------------------------------------------------- |
|
4 |
|
5 #------------------------------------------------------------------------------- |
|
6 # Settings |
|
7 #------------------------------------------------------------------------------- |
|
8 USER=anders |
|
9 SERVER=andersman.org |
|
10 HTDOCS=/srv/hg/happymars/htdocs |
|
11 #------------------------------------------------------------------------------- |
|
12 |
|
13 rsync -zrptL -e ssh ../htdocs/i686/ $USER@$SERVER:$HTDOCS/i686/ |
|
14 echo "Finished syncing i686" |
|
15 rsync -zrptL -e ssh ../htdocs/x86_64/ $USER@$SERVER:$HTDOCS/x86_64/ |
|
16 echo "Finished syncing x86_64" |