dircmp

NAME

dircmp - compare directory contents

SYNOPSIS

dircmp [-ds] dir1 dir2

DESCRIPTION

The dircmp(1) utility compares the contents of the directory hierarchies specified by dir1 and dir2. The files are compared by name first and then by content.Files that have identical content but different names will never be compared; use cmp(1) or diff(1) for that.

OPTIONS

-d
Run diff(1) on files that have the same name in both directories.
-s
Suppress messages about identical files.

See the diff(1) reference page for more information on output formats.

DIAGNOSTICS

The dircmp(1) utility exits with a value of 0 for success or >0 if an error occurred.

NOTES

This utility is identical to diff(1) when used to compare directories.

SEE ALSO

cmp(1)

diff(1)