sync file added
[physik/posic.git] / sync
diff --git a/sync b/sync
new file mode 100755 (executable)
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"