Replying to an old thread which is slightly OT too, but I hope you can bare with me, as I have an annoying problem. rgb wrote: > rsync -avz host:path . > > to get all changed files, verbosely, preserving files that no longer > occur, and send them compressed or My problem is with rsync, which I use in above manner. It keeps transferring files that I already have. Wasting a lot of bandwidth. Taken from rsync log: --<snip>-- i386/XFree86-Mach64-3.3.6-29.i386.rpm is uptodate i386/XFree86-Mono-3.3.6-29.i386.rpm is uptodate i386/XFree86-75dpi-fonts-3.3.6-29.i386.rpm i386/XFree86-8514-3.3.6-29.i386.rpm i386/XFree86-S3V-3.3.6-29.i386.rpm is uptodate i386/XFree86-AGX-3.3.6-29.i386.rpm i386/XFree86-FBDev-3.3.6-29.i386.rpm i386/XFree86-Mach8-3.3.6-29.i386.rpm i386/XFree86-VGA16-3.3.6-29.i386.rpm is uptodate --</snip>-- How come i386/XFree86-AGX-3.3.6-29.i386.rpm is not uptodate? This seems to happen always with the same files. If I run the cronjob manually the behaviour does not occur. Maybe someone here can figure out what is wrong in my scripts and explain me what is happening? My /etc/cron.daily/mirroring script: --<snip>-- #!/bin/bash MIRRORDIR=/scratch/yum/scripts rm -f $MIRRORDIR/updates.log echo "Beginning mirrorin at `date`. " > $MIRRORDIR/updates.log 2>&1 $MIRRORDIR/get-updrh62.sh >> $MIRRORDIR/updates.log 2>&1 $MIRRORDIR/get-updrh72.sh >> $MIRRORDIR/updates.log 2>&1 $MIRRORDIR/get-updrh73.sh >> $MIRRORDIR/updates.log 2>&1 touch /scratch/yum/updates-fetched.txt --</snip>-- And for example the get-updrh73.sh looks like this: --<snip>-- #!/bin/bash MIRRORDIR=/scratch/mirror VERBOSE=1 MIRROR=ftp.funet.fi REMOTE="$MIRROR::ftp/pub/mirrors/ftp.redhat.com/pub/redhat/linux/updates/7.3/en/os/" LOCAL="$MIRRORDIR/redhat/linux/updates/7.3/en/os/" if [ ! -z $VERBOSE ]; then VRB="-vv --stats" fi echo "Fetching RH73 updates." su - ayo -c "rsync $VRB -a --partial --exclude "SRPMS" --delete \ $REMOTE $LOCAL" echo " " --</snip>-- Regards, -- Peter Peltonen <peter.peltonen@xxxxxx> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.dulug.duke.edu/pipermail/yum/attachments/20030808/c703079f/attachment.bin