Author: carlos Date: Sun Oct 23 20:04:40 2005 New Revision: 327934 URL: http://svn.apache.org/viewcvs?rev=327934&view=rev Log: Added max-delete option
Modified: maven/components/trunk/maven-meeper/src/bin/ibiblio-sync/synchronize-codehaus-to-ibiblio.sh Modified: maven/components/trunk/maven-meeper/src/bin/ibiblio-sync/synchronize-codehaus-to-ibiblio.sh URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-meeper/src/bin/ibiblio-sync/synchronize-codehaus-to-ibiblio.sh?rev=327934&r1=327933&r2=327934&view=diff ============================================================================== --- maven/components/trunk/maven-meeper/src/bin/ibiblio-sync/synchronize-codehaus-to-ibiblio.sh (original) +++ maven/components/trunk/maven-meeper/src/bin/ibiblio-sync/synchronize-codehaus-to-ibiblio.sh Sun Oct 23 20:04:40 2005 @@ -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