diff options
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 |