mirror of https://github.com/apache/maven.git
Added max-delete option
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@327934 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
62319f352c
commit
6102a9cf29
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
dest=/home/projects/maven/repository-staging/to-ibiblio
|
dest=/home/projects/maven/repository-staging/to-ibiblio
|
||||||
|
|
||||||
date > $dest/maven/last-sync.txt
|
date > $dest/maven/last-sync.txt
|
||||||
chmod a+r $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
|
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
|
date > $dest/maven2/last-sync.txt
|
||||||
chmod a+r $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
|
rsync -e ssh --delete --max-delete=10 --exclude-from=$dest/exclusions.txt -v -rplt $dest/maven2/ login.ibiblio.org:/public/html/maven2
|
||||||
|
|
Loading…
Reference in New Issue