]> git.llucax.com Git - software/bacap.git/commitdiff
Dont use by default rsync --delete option
authorRodrigo Campos <rodrigo@sdfg.com.ar>
Thu, 25 Nov 2010 14:07:25 +0000 (11:07 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Thu, 25 Nov 2010 14:43:12 +0000 (11:43 -0300)
As we are creating the directory empty (now rsync creates the directory,
cp is not used anymore to create hardlinks) it shouldn't be any weird
files there and we shouldn't need --delete.

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
bacap

diff --git a/bacap b/bacap
index 59b270307a1031f346f9c60b6b7c2337c3487cb6..c7cdeab5d2c6b40dba61418e5bdb725d2b1a4cf4 100755 (executable)
--- a/bacap
+++ b/bacap
@@ -35,7 +35,7 @@ DATE_FMT="%Y-%m-%d"
 PING_CHECK=1
 
 # rsync flags to use
-RSYNC_FLAGS="-aAXHx --numeric-ids --delete"
+RSYNC_FLAGS="-aAXHx --numeric-ids"
 
 # rsync flags to use when in verbose mode
 RSYNC_VERBOSE_FLAGS="-v --stats"