Differencing Directories

Fraser Campbell fraser-eicrhRFjby5dCsDujFhwbypxlwaOVQ5f at public.gmane.org
Mon Jan 16 23:54:44 UTC 2006


William O'Higgins Witteman wrote:

> Is there a stock tool for reporting the differences in directories?  I
> don't really want to have to roll my own if I don't have to, and I know
> that people have had this problem before.  Thanks.

If the directories are expected to be very similar I generally use:

     diff -rq dir1 dir2

What is the purpose?  Is it part of a backup system, comparing source 
trees???  There might be a better tool depending on purpose.
--
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