Dave, 

Thanks very much for the reply!

I'm still uncertain about what happens if a single file rsync is
interrupted partway through (and I've specified the --partial option) --
will rsync take advantage of the old copy of the file in --compare-dest
and the partially rsync'd file (now truncated) in the destination
directory?  

Aside: I think, based on your previous response, that if I did a
multifile rsync (say 60 files), and rsync was interrupted after 20 of
the files were rsync'd, the --compare-dest option would work to avoid
rsync'ing the first 20 files and then rsync would rsync the last 40
files in the normal manner (i.e., breaking them into blocks of 3000 to
8000 bytes and then comparing them, and transferring only the blocks
that were different).

Thanks,
Randy Kramer

Dave Dykstra wrote:
> Note that if the target file ("mandrakefreq-i586-20010316.iso") is found
> in the target directory ("."), it will take precedence over a file by
> the same name in the compare-dest directory.  Your compare-dest directory
> should contain the old complete file but with the same name as the new one.
> 

The files in the target directory and in the --compare-dest directory
had the same name (and the same name as the source file).   After the
interruption, the file in the target directory was much smaller than the
original file (because of the interruption).

> > It did not work for me, but it might have been because:
> >
> > -I did not set things up properly -- my hard disk does not have space
> > for three copies of the iso, so I burned a CD-Rom and used it for the
> > --compare-dest copy.  If I had more hard disk space, I would try this
> > again with the third copy in a subdirectory below the directory I am
> > transferring the iso into.
> 
> The CD-ROM would have to have a file called mandrakefreq-i586-20010316.iso;
> is that what it had, or did you burn the whole CD from the iso image?

The CD-Rom had the file named mandrakefreq-i586-20010316.iso (and a file
md5sum.mandrakefreq) -- it was not burned to make a real (bootable) cd,
but just as a place to store the iso file.

Reply via email to