Synching text files.
Q at ping.be
Wed Oct 29 08:52:08 EST 2003
On Thu, Oct 23, 2003 at 11:15:31AM +1000, Donovan Baarda wrote:
> It will find matching blocks at arbitrary byte offsets.
> Think of the original file as a sequence of fixed sized blocks.
> Inserting or deleting a single byte "breaks" that block so it no longer
> matches, but rsync will match all the blocks before and after that
> non-matching block.
I had some time to test it, and it does properly do what it
should in case I remove a single byte.
It just seems there are so many changes that it can't find a
matching block again. The most part of the file should be the
same, but there are large blocks (of lines) that are inserted or
deleted. It just downloads the whole file each time.
More information about the rsync