echo "syncing ..." ROOT=/home/hackbard/projects/posic/saves REMOTE=sage.physik.uni-augsburg.de RROOT=$ROOT RSYNC="rsync -av -e 'ssh -l hackbard -p 3389'" mkdir -p $ROOT/$1 rsync -av -e "ssh -l hackbard -p 3389" $REMOTE:$RROOT/$1/[!v]* $ROOT/$1/ echo "done"