#!/bin/bash | |
[ "$1" = "" ] && echo && echo "You must pass in the synchronize.properties file!" && echo && exit | |
. $1 | |
echo ">>>>>>>>>>>>>>>>>> Syncing Maven 2.x repository to Exist" | |
rsync -e $HOME/bin/cmd-for-rssh.sh --filter='- **/.svn' --filter='P .index/**' --filter='P **/*.asc' --filter='P **/*.md5' --filter='P **/*.sha1' --delete -v -z -riplt $MAVEN2_REPO/ $EXIST_USERNAME@$EXIST_SYNC_HOST:$M2_EXIST_SYNC_DIR |