Behaviour of --append with modified files

Wayne Davison wayned at samba.org
Wed Dec 31 12:18:51 MST 2014


On Mon, Dec 15, 2014 at 9:06 PM, Mark Stead <Mark.Stead at unico.com.au> wrote:

> Is there any option that I've overlooked whereby I can force rsync to
> synchronise modified files (in addition to handling appended files).
>

No, rsync expects you to handle just appended files in --append mode.  You
should use include/exclude/filter rules to ensure that the files in the
transfer are only those that are known to be growing via appended data or
you risk rsync adding data onto a file with an earlier change and thus
create a quick-check false-match.  For the non-append run you might
consider using --inplace, or just exclude all files that are being updated
via appending.

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20141231/7f47cfd6/attachment.html>


More information about the rsync mailing list