summaryrefslogtreecommitdiff
path: root/.local/bin/lsync
blob: 533710dda4d3f85bef6bfd668824d8d8998350e8 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# Push to luevano.xyz

# This pushes everything! (except for blog, since it needs a bit more management)
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/

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