DIFFDIR(1) — UNIX Programmer’s Manual
NAME
diffdir − diff directories
SYNOPSIS
diffdir [ −h ] [ −s ] dir1 dir2
DESCRIPTION
Diffdir does diffs on directories by sorting the contents of the directories by name and then running diffs on text files which are different. Object files which differ and files which appear in only one directory are also listed.
The −h option causes diffdir to paginate its output, and to summarize binary differences and files in only one place at the end of the diff. Each individual diff is run through an appropriate pr.
The −s option causes files which are the same to be reported; normally they are omitted.
EXAMPLES
diffdir dir1 dir2
compares all the files in two directories and reports differences, by line number, for similar files. Unique files are simply listed.
SEE ALSO
AUTHOR
Bill Joy
BUGS
Program needs more work, i.e. it could be made hierarchical and should pass flags through to diff.
7th Edition — 1/7/82