Force delta transfers on rsync?

Brian Lindholm brian_lindholm at users.sourceforge.net
Sat Jul 5 00:07:05 GMT 2008


Wayne Davison wrote:
> On Fri, Jul 04, 2008 at 02:59:20PM -0400, Brian Lindholm wrote:
>> it would be even better if it only rewrote the portions of large files
>> that had actually changed instead of resending the entire file.
> You can use --no-whole-file with --inplace (since rsync's default update
> method is to write out a new file and rename it into place).  You might
> also use --append for things like log files if you're SURE that data has
> only been appended (and be sure to limit that copy to just what you want
> to update via appending).
>
> ..wayne..
>   
Wow. These two options did the trick nicely. [And now that I study the
manpage more carefully, I see that --no-whole-file has been there all 
along.]
Updates to the flash drive are faster than before and involve 
*substantially*
fewer bytes being written to "disk".

Many thanks for the quick reply. I love rsync.

Brian



More information about the rsync mailing list