File walking issue?

Adnan adnano at charter.net
Wed Feb 18 17:37:48 GMT 2004


So...assuming that I am using Samba to rsync a share. And using 
"--archive --compress --times --delete --stat -e ssh" as my option, will
the assumption by Andrew Liles is still true?

Wayne Davison wrote:

> On Mon, Feb 16, 2004 at 11:19:25PM +0000, Andrew Liles wrote:
> > Second: assume a file has an identical file size then rsync must
> > examine the file to see if it is the same. It does, in essence, by
> > doing a checksum on the file;
> 
> This is not correct.  The default "is unchanged" algorithm uses just the
> size and the modify-time of the files, so it only needs to stat the
> files.  If you specify -c, rsync checksums _all_ the files.  There are
> also other options to modify how rsync decides a file is unchanged (e.g.
> -I and --size-only), but these are specialty options that are not
> typically used.
> 
> ...wayne..
> 




More information about the rsync mailing list