DIFFDIR(1)

NAME
diffdir - diff directories

SYNOPSIS
diffdir [ -h ] [ -s ] [ -e ] [ -v ] 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. The -e option causes the output to be a csh(1) script containing ed(1) commands to change the first directory to the second. The -v option causes slightly more verbose output.

SEE ALSO
diff(1)

AUTHOR
William Joy

BUGS
Program needs more work, i.e. it could be made hierarchical.

Scripts made by diffdir -e contain lines with only a `.'. If the resulting file is mailed, mail (1) will throw away the rest of the file. The file must be right shifted by a tab stop to avoid this.