3 # Copyright: George Milescu 2010 - george.milescu@gmail.com
7 echo "Usage: $0 host port" 1>&2
11 # Read the global configuration file
12 # Check if the global configuration file exists
13 if [ ! -e ../ControlScripts/globalconfig ]; then
14 echo "Warning: The global config file ../ControlScripts/globalconfig does not exist."
16 source ../ControlScripts/globalconfig
22 echo "Syncing $host $port"
23 rsync -avzP --del --rsh='ssh -p'$port $P2P_NEXT_REL_PATH/P2P-Testing-Infrastructure/ControlScripts p2p@$host:/home/p2p/george/P2P-Testing-Infrastructure/ > /dev/null
24 rsync -avzP --del --rsh='ssh -p'$port $P2P_NEXT_REL_PATH/P2P-Testing-Infrastructure/TestSpecs p2p@$host:/home/p2p/george/P2P-Testing-Infrastructure/ > /dev/null