From 6423f952c8c02efc4fd9198b167bbbafe5305671 Mon Sep 17 00:00:00 2001 From: hackbard Date: Thu, 14 Dec 2006 13:53:28 +0000 Subject: [PATCH] sync file added --- sync | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 sync 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" -- 2.39.2