#!/bin/bash isdcrawdata=/data00/fact-construction/raw/ wuerawdata=/fact/raw today=`date +%F-%H-%M-%S` logfile=~/DataCheck/log/BackupRawToWue$today.log echo "" >> $logfile 2>&1 echo "" >> $logfile 2>&1 echo "" >> $logfile 2>&1 echo `date`": start rsync of raw data to Wuerzburg" >> $logfile 2>&1 #rsync from ISDC to Wue DC if ! /usr/bin/rsync -avx --no-p --progress $isdcrawdata operator@coma.astro.uni-wuerzburg.de:$wuerawdata >> $logfile 2>&1 then echo `date`": problem rsyncing rawdata from ISDC ("$HOST") to Wuerzburg" fi