From 35f225f9a44102ffd1309608d516013bd3b813e8 Mon Sep 17 00:00:00 2001 From: Vahagn Khachatryan Date: Tue, 8 Oct 2019 23:59:47 +0400 Subject: [PATCH] lsync.sh fixed bug with doubling dir name. --- bin/lsync.sh | 1 + local/yerevak/lsync.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100755 bin/lsync.sh delete mode 100755 local/yerevak/lsync.sh diff --git a/bin/lsync.sh b/bin/lsync.sh new file mode 100755 index 0000000..c9fe0d7 --- /dev/null +++ b/bin/lsync.sh @@ -0,0 +1 @@ +rsync -av --progress --inplace --append-verify --remove-source-files -e "ssh -p 24" /mnt/ssd/deluge/done/$1 lusntag.vostan.org:/mnt/home/vahagn/tmp/tmp diff --git a/local/yerevak/lsync.sh b/local/yerevak/lsync.sh deleted file mode 100755 index a20b6b9..0000000 --- a/local/yerevak/lsync.sh +++ /dev/null @@ -1 +0,0 @@ -rsync -av --progress --inplace --update --append-verify --remove-source-files -e "ssh -p 24" /mnt/ssd/deluge/done/$1 lusntag.vostan.org:/mnt/home/vahagn/tmp/tmp/$1