chiark / gitweb /
lib/functions.sh: Tweak rsync options somewhat.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 10 Mar 2014 09:37:25 +0000 (09:37 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 10 Mar 2014 10:42:54 +0000 (10:42 +0000)
Add `--delete-delay --delay-updates' so that we try to avoid messing
things up until we're done.

lib/functions.sh

index 7c5fbe9a5b5fbae232070279c97912f816ec8cdf..6f6a84ffaa1defb643096e6b0a12d7ffedb1e8b3 100644 (file)
@@ -12,7 +12,7 @@ standard_rsync () {
       --timeout=$rsync_timeout \
       --times --omit-dir-times \
       --links --safe-links \
-      --delete-during --delete-excluded \
+      --delete-delay --delete-excluded --delay-updates \
       --chmod=ug=rw,o=r,Dg+s,Da+x --perms \
       "$@"
     rc=$?