Date: Wed, 28 Jun 2000 01:26:04 -0500 From: Dan Nelson <dnelson@emsphone.com> To: Johannes.Effendi@redsheriff.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: recursive Directory Comparison Message-ID: <20000628012604.B4102@dan.emsphone.com> In-Reply-To: <395959F9.35D5C950@redsheriff.com>; from "Johannes Effendi" on Wed Jun 28 11:50:49 GMT 2000 References: <395959F9.35D5C950@redsheriff.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 28), Johannes Effendi said: > I am currently working with 3.3-RELEASE FreeBSD on Intel PC. and > wonder whether there is a utility in FreeBSD or even perl scripts > that allows me to do files comparison recursively from the directory > level, and display which files are the same and which are not. On > HP-UX this command is available as 'dircmp'. "diff -r" is nice. If you only want to know if the files are different (and don't care about the changes themselves), "diff -r --brief". Also, I just checked, and dircmp on my DEC Unix box is just a shell script, and works just fine (modulo some "echo \t" tab-expansion problems) on my FreeBSD-current box. If your HP-UX dircmp is also a shell script, try copying it over and see if it works. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000628012604.B4102>