Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2004 09:36:53 -0500
From:      "Shaun T. Erickson" <ste@smxy.org>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: dircmp?
Message-ID:  <40683485.4040808@smxy.org>
In-Reply-To: <20040329070552.GB19463@dan.emsphone.com>
References:  <40677BBF.3060504@smxy.org> <20040329020508.GA8032@xor.obsecurity.org> <20040329070552.GB19463@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson wrote:
> In the last episode (Mar 28), Kris Kennaway said:
> 
>>On Sun, Mar 28, 2004 at 08:28:31PM -0500, Shaun T. Erickson wrote:
>>
>>>Is there a dircmp command for 5.2.1-RELEASE-p3? I can't find one ...
>>
>>Not in the base system.  Maybe it's available in a port with a
>>different name.  What does it do?
> 
> 
> It compares two directory trees and tells you which files exist in one
> or both, and tells you which files are the same in both.  SUSv2
> deprecated it and recommended people use "diff -r" instead.  SUSv3
> doesn't mention it at all.

I tried diff -r and didn't really like it at all. The output isn't 
anywhere near as nice as dircmp's.

> Shaun: if you have access to a Tru64 or Solaris system, you can use
> their dircmp commands, since they are shell scripts.

Unfortunately, I don't, or I'd lift a copy. :)

	-ste



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40683485.4040808>