Yerevak .ssh config.

This commit is contained in:
2020-03-09 02:33:26 +04:00
parent 11dfca106e
commit 39c3b43ab7
2 changed files with 34 additions and 1 deletions

View File

@@ -1 +1,10 @@
/usr/bin/rsync -av --inplace --append-verify -e "ssh -p 8080" /mnt/ssd/deluge/done lusntag.vostan.org:/mnt/home/vahagn/tmp/tmp
set -x
if [ ! -z "$*" ]; then
for i in "$@"; do
/usr/bin/rsync -av --inplace --progress --append-verify "/mnt/ssd/deluge/done/$i" "hrat:tmp/tmp/done/"
done
else
echo "/usr/bin/rsync -av --inplace --append-verify /mnt/ssd/deluge/done hrat:tmp/tmp"
fi