summaryrefslogtreecommitdiff
path: root/bin/ftpsync
diff options
context:
space:
mode:
authorSimon Paillard <simon.paillard@resel.enst-bretagne.fr>2010-03-13 16:21:32 +0100
committerSimon Paillard <simon.paillard@resel.enst-bretagne.fr>2010-03-13 16:21:32 +0100
commit85c0d9721c5ef29d90e883cd3f04e2a8f7301bfe (patch)
tree5f3b1799318531228f3a503561df8e8d8a31ead3 /bin/ftpsync
parentccd86cba4b16862aaaa04a5a47d91576dfceb3cd (diff)
Defualt RSYNC_OPTIONS: preserve permissions
Diffstat (limited to 'bin/ftpsync')
-rwxr-xr-xbin/ftpsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 6e9daeb..580a80f 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -278,7 +278,7 @@ RSYNC=${RSYNC:-rsync}
# excluded files
RSYNC_FILTER=${RSYNC_FILTER:-"--filter=protect_Archive-Update-in-Progress-${MIRRORNAME} --filter=protect_${TRACE} --filter=protect_Archive-Update-Required-${MIRRORNAME}"}
# Default rsync options for *every* rsync call
-RSYNC_OPTIONS=${RSYNC_OPTIONS:-"-rltvHSB8192 --timeout 3600 --stats ${RSYNC_FILTER}"}
+RSYNC_OPTIONS=${RSYNC_OPTIONS:-"-prltvHSB8192 --timeout 3600 --stats ${RSYNC_FILTER}"}
# Options we only use in the first pass, where we do not want packages/sources to fly in yet and dont want to delete files
RSYNC_OPTIONS1=${RSYNC_OPTIONS1:-"--exclude Packages* --exclude Sources* --exclude Release* --exclude ls-lR*"}
# Options for the second pass, where we do want everything, including deletion of old and now unused files