Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dircmp(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cmp

diff

dircmp

PURPOSE

     Compares two directories and the contents of their common
     files.

SYNOPSIS
     dircmp [ -d ] [ -s ] dir1 dir2


DESCRIPTION

     The dircmp  command reads  directory1 and  directory2 and
     writes  information  about  their  contents  to  standard
     output.  First,  dircmp compares  the file names  in each
     directory.   When the  same  file name  appears in  both,
     dircmp compares the contents of both files.

     In  the output,  dircmp lists  the files  unique to  each
     directory.  It then lists  the files with identical names
     in both  directories, but with different  contents.  With
     no flag, it also lists files that have identical contents
     as well as identical names in both directories.

FLAGS

     -d Displays for  each common  file name both  versions of
        the differing  file lines.  The display  format is the
        same as that of "diff."
     -s Does not list the names of identical files.

EXAMPLES

     1.  To summarize the differences between the files in two
         directories:

           dircmp  proj.ver1  proj.ver2

         This displays  a summary  of the  differences between
         the  directories  "proj.ver1" and  "proj.ver2".   The
         summary lists separately the  files found only in one
         directory or the other, and  those found in both.  If
         a  file is  found in  both directories,  dircmp notes
         whether or not the two copies are identical.

     2.  To show the details of the differences between files:

           dircmp  -d  -s  proj.ver1  proj.ver2

         The  -s flag  suppresses information  about identical
         files.  The -d flag displays  a diff listing for each
         of the differing files found in both directories.

RELATED INFORMATION

     The following commands:  "cmp" and "diff."

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026