From 775c5741711daf4622ec4cee916c7548dbc4bd80 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Thu, 25 Feb 2021 03:02:25 -0700 Subject: Fix pksync and add lsync --- .local/bin/lsync | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 .local/bin/lsync (limited to '.local/bin/lsync') 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 -- cgit v1.2.3-54-g00ecf