Synching text files.
jw at pegasys.ws
Wed Oct 29 08:58:26 EST 2003
On Tue, Oct 28, 2003 at 10:52:08PM +0100, Kurt Roeckx wrote:
> 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.
It should be noted that a word processor file is not a text
J.W. Schultz Pegasystems Technologies
email address: jw at pegasys.ws
Remember Cernan and Schmitt
More information about the rsync