aboutsummaryrefslogtreecommitdiffstats
path: root/maven-meeper/src/bin/synchronize-central-to-ibiblio.sh
blob: dba27f400caa3a3e3d00f398a6647a328b339e50 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

[ "$1" = "" ] && echo && echo "You must pass in the synchronize.properties file!" && echo && exit

. $1

rsync -e ssh --delete --max-delete=10 -v -riplt $MAVEN2_REPO/ $IBIBLIO_SYNC_HOST:$M2_IBIBLIO_SYNC_DIR

# M1 Sync only for plugins ...
rsync -e ssh --delete --max-delete=10 -v -riplt $MAVEN1_REPO/ $IBIBLIO_SYNC_HOST:$M1_IBIBLIO_SYNC_DIR