summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-24 22:00:48 +0200
committerErich Eckner <git@eckner.net>2018-07-24 22:00:48 +0200
commitfb1306bd2ab6544cb41f8a359a66b157065a9cdf (patch)
treef8c0a99b9a5840fb8945e2bcf572fa2826d3424b
parentf9e9ddedd29dd8c11a31f83df20e51d774d15577 (diff)
downloadcopyPhotos-fb1306bd2ab6544cb41f8a359a66b157065a9cdf.tar.xz
use --progress for rsync
-rwxr-xr-xcopyPhotos4
1 files 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_@' | \