Rsync write behaviour / efficiency

Paul Slootman paul at
Mon Mar 7 11:30:06 GMT 2005

On Mon 07 Mar 2005, andy at wrote:
> If, for example, you have a 500MB file (say an ISO) whose modification
> consists solely of a few bytes added on to the beginning of the file.
> Will it create an entirely new 500MB file?  Or will it somehow know how to
> insert the bytes at the beginning of the remote file?

Inserting bytes at the beginning of a file can't be done, at least not
on unix-like systems. That can only be done by copying the file.

Paul Slootman

More information about the rsync mailing list