dircmp(1) | dircmp(1) |
NAME
dircmp - directory comparison
SYNOPSIS
dircmp
DESCRIPTION
dircmp examines dir1 and dir2 and generates various tabulated information about the contents of the directories. Sorted listings of ®les that are unique to each directory are generated for all the options. If no option is entered, a sorted list is output indicating whether the ®lenames common to both directories have the same contents.
EXTERNAL INFLUENCES
Environment Variables
LC_COLLATE determines the order in which the output is sorted.
If LC_COLLATE is not speci®ed in the environment or is set to the empty string, the value of LANG is used as a default. If LANG is not speci®ed or is set to the empty string, a default of ``C'' (see lang(5)) is used instead of LANG. If any internationalization variable contains an invalid setting, dircmp behaves as if all internationalization variables are set to ``C'' (see environ(5)).
International Code Set Support
Single- and
EXAMPLES
Compare the two directories slate and sleet and produce a list of changes that would make the directories identical:
dircmp
WARNINGS
This command is likely to be withdrawn from X/Open standards. Applications using this command might not be portable to other vendors' systems. As an alternative diff
SEE ALSO cmp(1), diff(1).
STANDARDS CONFORMANCE dircmp: SVID2, SVID3, XPG2, XPG3
d
− 1 − | Section 1−183 |