mirror of https://github.com/apache/maven.git
Added -i option
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@416468 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8f3bc4f82e
commit
14d58f8f1b
|
@ -6,20 +6,20 @@ dest=/home/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 -v -rplt $dest/maven/ login.ibiblio.org:/public/html/maven
|
||||
#rsync -e ssh --delete --max-delete=10 -v -riplt $dest/maven/ login.ibiblio.org:/public/html/maven
|
||||
|
||||
# EXCEPT FOR PLUGINS
|
||||
# TODO - FIX
|
||||
rsync -e ssh --delete --max-delete=10 -v -rplt $dest/maven/ login.ibiblio.org:/public/html/maven
|
||||
rsync -e ssh --delete --max-delete=10 -v -riplt $dest/maven/ login.ibiblio.org:/public/html/maven
|
||||
#(
|
||||
#cd $dest/maven
|
||||
#rsync -n -e ssh --delete --max-delete=10 -v -rplt --include='*/plugins/*' ./ login.ibiblio.org:/public/html/maven
|
||||
#rsync -n -e ssh --delete --max-delete=10 -v -riplt --include='*/plugins/*' ./ login.ibiblio.org:/public/html/maven
|
||||
#for i in */plugins
|
||||
#do
|
||||
#rsync -e ssh --delete --max-delete=10 -v -rplt $i login.ibiblio.org:/public/html/maven/$i
|
||||
#rsync -e ssh --delete --max-delete=10 -v -riplt $i login.ibiblio.org:/public/html/maven/$i
|
||||
#done
|
||||
#)
|
||||
|
||||
date > $dest/maven2/last-sync.txt
|
||||
chmod a+r $dest/maven2/last-sync.txt
|
||||
rsync -e ssh --delete --max-delete=10 -v -rplt $dest/maven2/ login.ibiblio.org:/public/html/maven2
|
||||
rsync -e ssh --delete --max-delete=10 -v -riplt $dest/maven2/ login.ibiblio.org:/public/html/maven2
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
dest=/home/maven/repository-staging/to-ibiblio
|
||||
|
||||
#-a = -rlptgoD
|
||||
rsync -e ssh -v -rpt login.ibiblio.org:/public/html/maven/ $dest/maven
|
||||
rsync -e ssh -v -rpt login.ibiblio.org:/public/html/maven2/ $dest/maven2
|
||||
rsync -e ssh -v -ript login.ibiblio.org:/public/html/maven/ $dest/maven
|
||||
rsync -e ssh -v -ript login.ibiblio.org:/public/html/maven2/ $dest/maven2
|
||||
|
||||
find -user $USER | xargs chmod g+rw
|
||||
|
|
Loading…
Reference in New Issue