]> hackdaworld.org Git - physik/posic.git/commitdiff
sync file added
authorhackbard <hackbard>
Thu, 14 Dec 2006 13:53:28 +0000 (13:53 +0000)
committerhackbard <hackbard>
Thu, 14 Dec 2006 13:53:28 +0000 (13:53 +0000)
sync [new file with mode: 0755]

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"