summaryrefslogtreecommitdiff
path: root/.local/bin/lsync
blob: dc74c0f50ce64b61445c2d5e0c7952cff616f65a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# Push to luevano.xyz

# This pushes everything!
echo "rsync: pushing (U) local (lz) to webserver (lzserver). (luevano.xyz)"
rsync -rtuvP --delete-after --exclude-from=$HOME/dox/www/luevano.xyz/.rsyncignore $HOME/dox/www/luevano.xyz/ lzr:/var/www/

# Only static.luevano.xyz.
# echo "rsync: pushing (U) local (lz) to webserver (lzserver). (luevano.xyz)"
# rsync -rtuvP --delete-after $HOME/dox/www/luevano.xyz/static/ lzr:/var/www/static/

# Only luevano.xyz.
# echo "rsync: pushing (U) local (lz) to webserver (lzserver). (luevano.xyz)"
# rsync -rtuvP --delete-after $HOME/dox/www/luevano.xyz/luevano/ lzr:/var/www/luevano/

# Only gb.luevano.xyz.
# echo "rsync: pushing (U) local (lz) to webserver (lzserver). (luevano.xyz)"
# rsync -rtuvP --delete-after $HOME/dox/www/luevano.xyz/gb/ lzr:/var/www/gb/

# echo "rsync: pulling (U) webserver (lzserver) to local (lz)."
# rsync -rtuvP lzr:/var/www/luevano/ $HOME/dox/www/luevano