comparing directories

Michael Schwendt fedora at wir-sind-cool.org
Tue Apr 19 15:44:17 UTC 2005


On Tue, 19 Apr 2005 09:54:07 -0500, Steve Buehler wrote:

> Is there a script or program that can compare directories and report the 
> differences.  It would have to work recursively.  For some reason when I am 
> using rsync to mirror a NFS drive, the "df" information is off by about 15 
> gigs afterwards.

diff --brief --recursive --new-file directory1 directory2

Assumes that both directories are supposed to contain exactly the same
files.

-- 
Fedora Core release 3 (Heidelberg) - Linux 2.6.11-1.14_FC3
loadavg: 1.09 1.44 1.92




More information about the redhat-list mailing list