This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Rsync problem
- From: Gunnar Boström <Gunnar dot Bostrom at kiconsulting dot se>
- To: <cygwin at cygwin dot com>
- Date: Fri, 13 Sep 2002 08:08:57 +0200
- Subject: Rsync problem
I have problem with rsync that doesn't stop after it has done it's job.
I use the latest version of cygwin on a win-XP pro.
Any suggestions?
This is the last lines from a log-file.
WebServices/jwsdp-1_0_01/xsl/textFormatForVerifierSS.xsl is uptodate
total: matches=0 tag_hits=0 false_alarms=0 data=0
wrote 94043 bytes read 20 bytes 4.02 bytes/sec
Now rsync should have output a line with statistics like this:
wrote 94043 bytes read 20 bytes 4.02 bytes/sec
This is the script i'm using
#! /bin/sh
#uncoment next line for testing
#set -x
LOCAL=/cygdrive/d/gb
REMOTE=/cygdrive/g/gb
LOG=/cygdrive/h/log/rsyncgb.log
echo rsync of $LOCAL to $REMOTE started `date` > $LOG
cd $LOCAL
for DIR in *
do
echo sync $DIR started >> $LOG
rsync --archive --verbose --verbose --delete $DIR $REMOTE >> "$LOG"
echo sync $DIR done >> $LOG
done
echo rsync of $LOCAL to $REMOTE done `date` >> $LOG
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/