From fb1306bd2ab6544cb41f8a359a66b157065a9cdf Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 24 Jul 2018 22:00:48 +0200 Subject: use --progress for rsync --- copyPhotos | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copyPhotos b/copyPhotos index 1ca2dfd..1d94c04 100755 --- a/copyPhotos +++ b/copyPhotos @@ -113,7 +113,7 @@ fi if [ ${pingErg} -eq 0 ] then - rsync --ignore-existing -avc "${tmp_dir}/" "${endHost}:${endZielVerzeichnis}/" + rsync --progress --ignore-existing -avc "${tmp_dir}/" "${endHost}:${endZielVerzeichnis}/" echo "${summen}" | \ sed 's@^\([0-9a-f]\+ \+\)\([0-9]\{4\}\)_@\1'"${endZielVerzeichnis}"'/\2/\2_@' | \ @@ -135,7 +135,7 @@ fi if [ ${pingErg} -eq 0 ] then - rsync --ignore-existing -avc "${tmp_dir}/" "${zweitHost}:${zweitZielVerzeichnis}/" + rsync --progress --ignore-existing -avc "${tmp_dir}/" "${zweitHost}:${zweitZielVerzeichnis}/" echo "${summen}" | \ sed 's@^\([0-9a-f]\+ \+\)\([0-9]\{4\}\)_@\1'"${zweitZielVerzeichnis}"'/\2/\2_@' | \ -- cgit v1.2.3-54-g00ecf