Using rsync to generate diff/patches

Dave Whitinger dave at standardout.com
Wed Jan 26 16:57:21 GMT 2005


On Wed, Jan 26, 2005 11:50 AM, Chris Shoemaker wrote:

> Look at "batch mode."  Except it actually applys changes, too.

Thank you, Chris!

That's excellent that most of the code is already written.  All
that is needed now is something like "dry-run", that will tell it
not to apply the changes, but only write out the batch file.

Something like this:

rsync --write-batch=foo --dry-run -a host:/source/dir/ /adest/dir/

Doable?

Dave


More information about the rsync mailing list