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:
Carlos Sanchez Gonzalez 2006-06-22 20:51:28 +00:00
parent 8f3bc4f82e
commit 14d58f8f1b
2 changed files with 7 additions and 7 deletions

View File

@ -6,20 +6,20 @@ dest=/home/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 --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 # EXCEPT FOR PLUGINS
# TODO - FIX # 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 #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 #for i in */plugins
#do #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 #done
#) #)
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 --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

View File

@ -3,7 +3,7 @@
dest=/home/maven/repository-staging/to-ibiblio dest=/home/maven/repository-staging/to-ibiblio
#-a = -rlptgoD #-a = -rlptgoD
rsync -e ssh -v -rpt login.ibiblio.org:/public/html/maven/ $dest/maven rsync -e ssh -v -ript 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/maven2/ $dest/maven2
find -user $USER | xargs chmod g+rw find -user $USER | xargs chmod g+rw