Differencing Directories

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Tue Jan 17 19:47:24 UTC 2006


On Mon, Jan 16, 2006 at 05:24:14PM -0500, William O'Higgins Witteman wrote:
> Yes, but the output is decidedly unbeautiful.  I am not completely
> satisfied with dirdiff, but it seems to be a better choice than some of
> my options.  Tree is educational, and lends itself scriptable solutions,
> but for a rough overview it seems to be okay.  There are a lot of
> proprietary solutions out there for windoze I noticed, but because all
> the pieces are in place on Linux to do this yourself it seems less in
> demand.

diff -rNq isn't parseable enough?

How about:  diff <(find dir1 | sort) <(find dir2 |sort)

That might work.

Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list