diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2021-06-19 01:45:35 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2021-06-19 01:45:35 -0600 |
commit | b0e74f698c5ca9f9104c6ac69c478ee1ec274e0f (patch) | |
tree | c0451a4d684ae76e8fdbbe1a66f06cb272c395bb /.local/bin/lsync | |
parent | ebef52008f65844e162f0d726e22f8b29815e781 (diff) |
Diffstat (limited to '.local/bin/lsync')
-rwxr-xr-x | .local/bin/lsync | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.local/bin/lsync b/.local/bin/lsync index d414703..cbafacc 100755 --- a/.local/bin/lsync +++ b/.local/bin/lsync @@ -1,10 +1,14 @@ #!/bin/sh # Push to luevano.xyz -# This pushes everything! (except for blog, since it needs a bit more management) +# This pushes everything! (except for blog and art, 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/ luevanor:/var/www/ +rsync -rtuvPL --delete-after --exclude-from=$HOME/dox/www/luevano.xyz/.rsyncignore $HOME/dox/www/luevano.xyz/ luevanor:/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/ luevanor:/var/www/blog/ +rsync -rtuvPL --delete-after $HOME/dox/www/luevano.xyz/blog/dst/ luevanor:/var/www/blog/ + +# This pushes the art. +echo "rsync: pushing (U) local (lz) to webserver (lzserver). (art.luevano.xyz)" +rsync -rtuvPL --delete-after $HOME/dox/www/luevano.xyz/art/dst/ luevanor:/var/www/art/ |