]> hackdaworld.org Git - physik/posic.git/blob - sync
corrected random fd close
[physik/posic.git] / sync
1 echo "syncing ..."
2
3 ROOT=/home/hackbard/projects/posic/saves
4 REMOTE=sage.physik.uni-augsburg.de
5 RROOT=$ROOT
6 RSYNC="rsync -av -e 'ssh -l hackbard -p 3389'"
7
8 mkdir -p $ROOT/$1
9 rsync -av -e "ssh -l hackbard -p 3389" $REMOTE:$RROOT/$1/[!v]* $ROOT/$1/
10
11 echo "done"