From owner-freebsd-questions@FreeBSD.ORG Mon Mar 29 06:36:55 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 022A016A4CE for ; Mon, 29 Mar 2004 06:36:55 -0800 (PST) Received: from peter.smxy.org (smxy.org [64.32.179.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id D223A43D1F for ; Mon, 29 Mar 2004 06:36:54 -0800 (PST) (envelope-from ste@smxy.org) Received: from smxy.org (bgp377940bgs.plnfld01.nj.comcast.net [68.36.5.198]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by peter.smxy.org (Postfix) with ESMTP id 1C4AB20B8; Mon, 29 Mar 2004 09:36:54 -0500 (EST) Message-ID: <40683485.4040808@smxy.org> Date: Mon, 29 Mar 2004 09:36:53 -0500 From: "Shaun T. Erickson" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan Nelson References: <40677BBF.3060504@smxy.org> <20040329020508.GA8032@xor.obsecurity.org> <20040329070552.GB19463@dan.emsphone.com> In-Reply-To: <20040329070552.GB19463@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org cc: Kris Kennaway Subject: Re: dircmp? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ste@smxy.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2004 14:36:55 -0000 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