Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cmp(1)

diff(1)

dircmp(1)

Name

dircmp − directory comparison

Syntax

dircmp [ −d ] [ −s ] [ −wn ] dir... 

Description

The dircmp command examines dir1 and dir2 and generates tabulated information about the contents of the directories. Listings of files that are unique to each directory are generated for all the options.  If no option is entered, a list is output indicating whether the filenames common to both directories have the same contents. 

This command is supplied for X/OPEN compliance.  The same results are available from diff(,), which produces results more quickly and effectively.

Options

−d Compares the contents of files with the same name in both directories and output a list telling what must be changed in the two files to bring them into agreement.  The list format is described in diff(.).

−s Suppresses messages about identical files. 

−wn Changes the width of the output line to n characters.  The default width is 72. 

See Also

cmp(1), diff(1). 

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