From ee7d93c9d3371d149acb0be471d68ee166db74b8 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Wed, 6 Sep 2017 16:47:27 -0400 Subject: Fix rsync suffix bug Files were being suffixed with extra characters. --- rsync.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rsync.sh b/rsync.sh index 5fc0c7d..165d360 100644 --- a/rsync.sh +++ b/rsync.sh @@ -72,9 +72,9 @@ function systr_rsync_del dst="$3" if [[ "$src" == "." ]]; then - suffix="--suffix='&'" + suffix="--suffix=&" else - suffix="--suffix='~'" + suffix="--suffix=~" fi rsync -azb $suffix --existing --ignore-existing \ -- cgit v1.2.3