diff options
Diffstat (limited to 'maven-meeper/src/bin/synchronize/sync-central-to-ibiblio.sh')
-rwxr-xr-x | maven-meeper/src/bin/synchronize/sync-central-to-ibiblio.sh | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/maven-meeper/src/bin/synchronize/sync-central-to-ibiblio.sh b/maven-meeper/src/bin/synchronize/sync-central-to-ibiblio.sh index aff6ace16..59ab18e45 100755 --- a/maven-meeper/src/bin/synchronize/sync-central-to-ibiblio.sh +++ b/maven-meeper/src/bin/synchronize/sync-central-to-ibiblio.sh @@ -1,5 +1,9 @@ #!/bin/bash +syncProperties=$1 + +. $syncProperties + dest=/home/maven/repository-staging/to-ibiblio rsync -e ssh --delete --max-delete=10 -v -riplt $dest/maven2/ login.ibiblio.org:/public/html/maven2 @@ -7,21 +11,5 @@ rsync -e ssh --delete --max-delete=10 -v -riplt $dest/maven2/ login.ibiblio.org: date > $dest/maven2/last-sync.txt chmod a+r $dest/maven2/last-sync.txt - -# NO MORE m1 SYNC - -#date > $dest/maven/last-sync.txt -#chmod a+r $dest/maven/last-sync.txt -#rsync -e ssh --delete --max-delete=10 -v -riplt $dest/maven/ login.ibiblio.org:/public/html/maven - -# EXCEPT FOR PLUGINS -# TODO - FIX +# M1 Sync only for plugins ... 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 -riplt --include='*/plugins/*' ./ login.ibiblio.org:/public/html/maven - #for i in */plugins - #do - #rsync -e ssh --delete --max-delete=10 -v -riplt $i login.ibiblio.org:/public/html/maven/$i - #done -#) |