Added delete and exclusions

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326014 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Carlos Sanchez Gonzalez 2005-10-18 02:09:56 +00:00
parent 8f20679d8d
commit c2c5b3893f
3 changed files with 3 additions and 13 deletions

View File

@ -1,10 +0,0 @@
#!/bin/bash
dest=/home/projects/maven/repository-staging/to-ibiblio
#date > $dest/maven/last-sync.txt
#rsync -e ssh -v -rt $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 -v -rtp $dest/maven2/ login.ibiblio.org:/public/html/maven2

View File

@ -4,8 +4,8 @@ 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 --exclude='*/distributions/*' -v -rplt $dest/maven/ login.ibiblio.org:/public/html/maven
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 -v -rplt $dest/maven2/ login.ibiblio.org:/public/html/maven2
rsync -e ssh --delete --exclude-from=$dest/exclusions.txt -v -rplt $dest/maven2/ login.ibiblio.org:/public/html/maven2

View File

@ -1,6 +1,6 @@
[syncopate]
repoDirectory=/home/projects/maven/repository-staging/to-ibiblio/maven
options=--log-format="artifact %f %l %t" -rvl -L --size-only -q
options=--log-format="artifact %f %l %t" -rvl -L --size-only -q --exclude-from=/home/projects/maven/repository-staging/to-ibiblio/exclusions.txt
rsyncUser=rsync
reportUrl=http://repo1.maven.org/reports