3 # sync files: SRC <-> local
5 # source host / user / dir
6 SRC="hdw" ; SRCUSER="hackbard" ; SRCDIR="/home/hackbard"
8 DSTDIR="/mnt/bunker/hackbard"
10 export RSYNC_RSH="ssh"
14 DIRS="docs/mosc/ docs/dvb/ docs/kernel/ docs/nagra/"
16 # check for local existence, continue rsync if true
19 echo "syncing $DIR from host $SRC, directory $SRCDIR ..."
20 $RSYNC ${SRC}:${SRCDIR}/$DIR ${DSTDIR}/$DIR