]> hackdaworld.org Git - lectures/latex.git/blob - cv/sync.sh
it is not THE precipitation
[lectures/latex.git] / cv / sync.sh
1 # syncing images
2
3 RSYNC="rsync -avz -u"
4
5 if [ "`hostname`" != "sage" ]; then
6         SRC="sage.physik.uni-augsburg.de:projects/latex/cv"
7 fi
8
9 $RSYNC -e "ssh -p 3389" $SRC/img/ ./img/
10
11 if [ "$2" = "r" ]; then
12
13         $RSYNC -e "ssh -p 3389" ./img/ $SRC/img/
14
15 fi
16
17 echo "done"
18