From 6102a9cf292c737ba081b463a09ba8c5ee3fc343 Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Gonzalez Date: Mon, 24 Oct 2005 03:04:40 +0000 Subject: [PATCH] Added max-delete option git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327934 13f79535-47bb-0310-9956-ffa450edef68 --- .../synchronize-codehaus-to-ibiblio.sh | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/maven-meeper/src/bin/ibiblio-sync/synchronize-codehaus-to-ibiblio.sh b/maven-meeper/src/bin/ibiblio-sync/synchronize-codehaus-to-ibiblio.sh index 95f1a56733..bdda8c4813 100755 --- a/maven-meeper/src/bin/ibiblio-sync/synchronize-codehaus-to-ibiblio.sh +++ b/maven-meeper/src/bin/ibiblio-sync/synchronize-codehaus-to-ibiblio.sh @@ -1,11 +1,11 @@ -#!/bin/bash - -dest=/home/projects/maven/repository-staging/to-ibiblio - -date > $dest/maven/last-sync.txt -chmod a+r $dest/maven/last-sync.txt -rsync -e ssh --delete --exclude-from=$dest/exclusions.txt -v -rplt $dest/maven/ login.ibiblio.org:/public/html/maven - -date > $dest/maven2/last-sync.txt -chmod a+r $dest/maven2/last-sync.txt -rsync -e ssh --delete --exclude-from=$dest/exclusions.txt -v -rplt $dest/maven2/ login.ibiblio.org:/public/html/maven2 +#!/bin/bash + +dest=/home/projects/maven/repository-staging/to-ibiblio + +date > $dest/maven/last-sync.txt +chmod a+r $dest/maven/last-sync.txt +rsync -e ssh --delete --max-delete=10 --exclude-from=$dest/exclusions.txt -v -rplt $dest/maven/ login.ibiblio.org:/public/html/maven + +date > $dest/maven2/last-sync.txt +chmod a+r $dest/maven2/last-sync.txt +rsync -e ssh --delete --max-delete=10 --exclude-from=$dest/exclusions.txt -v -rplt $dest/maven2/ login.ibiblio.org:/public/html/maven2