Re: dircmp

chris-usenet_at_roaima.co.uk
Date: 06/08/04


Date: Tue, 8 Jun 2004 15:44:58 +0100

beliavsky@aol.com wrote:
> Some Unix operating systems have the 'dircmp' command to compare
> directories, but it seems that SUSE Linux 9.0 Pro (kernel 2.4) does
> not. [...]

It has the same functionality within "diff".

> (1) list all the file names present in one directory but not another
> (2) list file names found in two directories for which the file
> contents are different.

diff --brief dir1 dir2

Chris



Relevant Pages

  • Re: Copy modified files from one directory to another.
    ... after the directory has been updated you can compare the directory ... Structure with the List file. ... Check out from PVCS store in directory A and Checkout from ... Synergy CM stored in directory B. Copy A to B - copy only those files ...
    (comp.unix.shell)
  • Re: dircmp
    ... > Some Unix operating systems have the 'dircmp' command to compare ... It has the same functionality within "diff". ... > list file names found in two directories for which the file ...
    (comp.os.linux.misc)
  • Checking on logical functionality
    ... The content of file1 is A&B while file 2 ... How can I compare and print that the functionality is same. ... my %diff; ...
    (perl.beginners)