diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2021-02-25 03:02:25 -0700 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2021-02-25 03:02:25 -0700 |
commit | 775c5741711daf4622ec4cee916c7548dbc4bd80 (patch) | |
tree | e1df7aecd8a1ed5d4677855a93887cf3cd3c6e74 /.local/bin/lsync | |
parent | 48429992410a0e3664df8d42b088d990db784d90 (diff) |
Fix pksync and add lsync
Diffstat (limited to '.local/bin/lsync')
-rwxr-xr-x | .local/bin/lsync | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/lsync b/.local/bin/lsync new file mode 100755 index 0000000..bc0f140 --- /dev/null +++ b/.local/bin/lsync @@ -0,0 +1,8 @@ +#!/bin/sh +# Push to luevano.xyz + +echo "rsync: pushing (U) local (lz) to webserver (lzserver)." +rsync -rtuvP --delete-after $HOME/dox/www/luevano/ lzr:/var/www/luevano/ + +# echo "rsync: pulling (U) webserver (lzserver) to local (lz)." +# rsync -rtuvP lzr:/var/www/luevano/ $HOME/dox/www/luevano |