projects
/
lectures
/
latex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d2f850
)
sync script
author
hackbard
<hackbard@hackdaworld.org>
Sat, 23 Feb 2008 19:23:00 +0000
(20:23 +0100)
committer
hackbard
<hackbard@hackdaworld.org>
Sat, 23 Feb 2008 19:23:00 +0000
(20:23 +0100)
posic/sync.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/posic/sync.sh
b/posic/sync.sh
new file mode 100755
(executable)
index 0000000..
c75a64d
--- /dev/null
+++ b/
posic/sync.sh
@@ -0,0
+1,20
@@
+RSYNC="rsync -avz -u"
+
+if [ "`hostname`" != "sage" ]; then
+ SRC="sage.physik.uni-augsburg.de:projects/latex/posic"
+fi
+
+$RSYNC -e "ssh -p 3389" $SRC/img/ ./img/
+$RSYNC -e "ssh -p 3389" $SRC/figs/ ./figs/
+
+$RSYNC -e "ssh -p 3389" $SRC/talks/*.pdf ./talks/
+
+if [ "$2" = "r" ]; then
+
+ $RSYNC -e "ssh -p 3389" ./img/ $SRC/img/
+ $RSYNC -e "ssh -p 3389" ./figs/ $SRC/figs/
+
+fi
+
+echo "done"
+