From owner-freebsd-questions@FreeBSD.ORG Sun Mar 28 23:05:53 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 6EBD316A4CE for ; Sun, 28 Mar 2004 23:05:53 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B7F943D1D for ; Sun, 28 Mar 2004 23:05:53 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i2T75q1J098057; Mon, 29 Mar 2004 01:05:52 -0600 (CST) (envelope-from dan) Date: Mon, 29 Mar 2004 01:05:52 -0600 From: Dan Nelson To: Kris Kennaway Message-ID: <20040329070552.GB19463@dan.emsphone.com> References: <40677BBF.3060504@smxy.org> <20040329020508.GA8032@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040329020508.GA8032@xor.obsecurity.org> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: "Shaun T. Erickson" cc: freebsd-questions@freebsd.org Subject: Re: dircmp? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2004 07:05:53 -0000 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. Shaun: if you have access to a Tru64 or Solaris system, you can use their dircmp commands, since they are shell scripts. -- Dan Nelson dnelson@allantgroup.com