Rsync skipping certain lines in files

Martin Pool mbp at samba.org
Wed Dec 12 10:04:52 EST 2001


On 10 Dec 2001, mike harris <harrism76 at yahoo.com> wrote:
> I was wondering if it were possible with rsync to
> exclude certain lines in a file before it syncs them
> up to update the diferrences. I have files on two
> systems that the first 10 lines are unique to each
> system but the rest of the lines in the files need to
> be mirrored. Thank You

That would be pretty hard to implement and of limited use to most
people.

Perhaps you can ship the standard and varying parts of the file
separately and combine them on the destination.
--
Martin




More information about the rsync mailing list