Rsync - Copying Every File Every Time

Wayne Davison wayned at samba.org
Mon Jan 10 19:30:11 GMT 2005


On Mon, Jan 10, 2005 at 08:23:25AM -0700, Gabby James wrote:
> I am using rsync 2.6.3 on RH 9 Linux systems.  I think everytime I run the 
> rsync command, all the files get transferred even if they haven't changed.

If you don't use -t (--times) which is implied by -a (--archive), they
all get updated (since the quick-check algorithm just compares the
modify-time and the size of the file).  However, only the checksum data
gets tranferred during this process (so it is faster than a full
transfer).  See also -c (--checksum) -- an alternative to the default
quick-check algorithm that doesn't require you to preserve each file's
modify-time, but it does slow things down quite a bit.

..wayne..


More information about the rsync mailing list