You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2008/12/04 06:30:07 UTC

svn commit: r723216 - /maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh

Author: brett
Date: Wed Dec  3 21:30:06 2008
New Revision: 723216

URL: http://svn.apache.org/viewvc?rev=723216&view=rev
Log:
better method for protecting files from deletion, and don't use max-delete

Modified:
    maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh

Modified: maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh
URL: http://svn.apache.org/viewvc/maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh?rev=723216&r1=723215&r2=723216&view=diff
==============================================================================
--- maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh (original)
+++ maven/repository-tools/trunk/src/bin/synchronize-central-to-exist.sh Wed Dec  3 21:30:06 2008
@@ -6,6 +6,4 @@
 
 echo ">>>>>>>>>>>>>>>>>> Syncing Maven 2.x repository to Exist"
 
-rsync -e $HOME/bin/cmd-for-rssh.sh --include='.index' --include='*.asc' --include='*.md5' --include='*.sha1' -v -z -riplt $MAVEN2_REPO/ $EXIST_USERNAME@$EXIST_SYNC_HOST:$M2_EXIST_SYNC_DIR
-
-rsync -e $HOME/bin/cmd-for-rssh.sh --exclude='.index' --exclude='*.asc' --exclude='*.md5' --exclude='*.sha1' --delete --max-delete=10 -v -z -riplt $MAVEN2_REPO/ $EXIST_USERNAME@$EXIST_SYNC_HOST:$M2_EXIST_SYNC_DIR
+rsync -e $HOME/bin/cmd-for-rssh.sh --filter='P .index/**' --filter='P **/*.asc' --filter='P **/*.md5' --filter='P **/*.sha1' --delete -v -z -riplt $MAVEN2_REPO/ $EXIST_USERNAME@$EXIST_SYNC_HOST:$M2_EXIST_SYNC_DIR