mirror of https://github.com/apache/maven.git
preserve permissions so that changes only need to be made on the source side. Don't want to preserve owner, group though.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239978 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1c57342cb6
commit
10d7c8b96f
|
@ -6,4 +6,4 @@ dest=/home/projects/maven/repository-staging/to-ibiblio
|
|||
#rsync -e ssh -v -rt $dest/maven login.ibiblio.org:/public/html/maven
|
||||
|
||||
date > $dest/maven2/last-sync.txt
|
||||
rsync -e ssh -v -rt $dest/maven2/ login.ibiblio.org:/public/html/maven2
|
||||
rsync -e ssh -v -rtp $dest/maven2/ login.ibiblio.org:/public/html/maven2
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
dest=/home/projects/maven/repository-staging/to-ibiblio
|
||||
|
||||
date > $dest/maven/last-sync.txt
|
||||
rsync -e ssh --exclude='*/distributions/*' -v -rlt $dest/maven/ login.ibiblio.org:/public/html/maven
|
||||
rsync -e ssh --exclude='*/distributions/*' -v -rplt $dest/maven/ login.ibiblio.org:/public/html/maven
|
||||
|
||||
date > $dest/maven2/last-sync.txt
|
||||
rsync -e ssh --exclude='*/distributions/*' -v -rlt $dest/maven2/ login.ibiblio.org:/public/html/maven2
|
||||
rsync -e ssh --exclude='*/distributions/*' -v -rplt $dest/maven2/ login.ibiblio.org:/public/html/maven2
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
dest=/home/projects/maven/repository-staging/to-ibiblio
|
||||
|
||||
#-a = -rlptgoD
|
||||
rsync -e ssh -v -rt login.ibiblio.org:/public/html/maven/ $dest/maven
|
||||
rsync -e ssh -v -rt login.ibiblio.org:/public/html/maven2/ $dest/maven2
|
||||
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
|
||||
|
||||
find -user $USER | xargs chmod g+rw
|
||||
|
|
Loading…
Reference in New Issue