Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

diff(1)

DIFFDIR(1)  —  Unix Programmer’s Manual

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. 

3rd Berkeley Distribution  —  8/31/79

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