getting "diff" of directory trees

N.J. Thomas njt at ayvali.org
Tue Jan 17 21:42:13 GMT 2006


* Matt McCutchen <hashproduct at verizon.net> [2006-01-17 13:42:15 -0500]:
> On Tue, 2006-01-17 at 00:06 -0500, N.J. Thomas wrote:
> > can I have rsync make a file or directory "d", that contains the
> > differences between these two directories such that I can take d and
> > apply it to foo to get fooprime
> 
> Yes.  Run:
> 	rsync <options> --only-write-batch=d fooprime/ foo/

Excellent, this is exactly what I was looking for.

> You may want to generate two batch files, one that converts foo to
> fooprime and one that converts fooprime to foo.

No need for now, I just needed something that goes in at least one
direction.

thanks,
Thomas

-- 
N.J. Thomas
njt at ayvali.org
Etiamsi occiderit me, in ipso sperabo


More information about the rsync mailing list