dircmp?
Shaun T. Erickson
ste at smxy.org
Mon Mar 29 06:36:55 PST 2004
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
More information about the freebsd-questions
mailing list