From: hackbard Date: Thu, 14 Dec 2006 13:53:28 +0000 (+0000) Subject: sync file added X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6423f952c8c02efc4fd9198b167bbbafe5305671;p=physik%2Fposic.git sync file added --- diff --git a/sync b/sync new file mode 100755 index 0000000..3ba4ac7 --- /dev/null +++ b/sync @@ -0,0 +1,11 @@ +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"