From: Mark Wooding Date: Mon, 10 Mar 2014 09:37:25 +0000 (+0000) Subject: lib/functions.sh: Tweak rsync options somewhat. X-Git-Url: https://git.distorted.org.uk/~mdw/mirror-admin/commitdiff_plain/15e71a977ed98870a1f5a3f2b5f0400dfbce131d lib/functions.sh: Tweak rsync options somewhat. Add `--delete-delay --delay-updates' so that we try to avoid messing things up until we're done. --- diff --git a/lib/functions.sh b/lib/functions.sh index 7c5fbe9..6f6a84f 100644 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -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=$?