4.4BSD/usr/src/contrib/mh-6.8/miscellany/compress-4.0/compressdir.1

Compare this file to the similar file:
Show the results in this format:

.PU
.TH COMPRESSDIR 1 local
.SH NAME
compressdir, uncompressdir \-  compress and uncompress directories of files
.SH SYNOPSIS
.ll +8
.B compressdir
[ flags ] [
.I "directory \&..."
]
.ll -8
.br
.B uncompressdir
[ flags ] [
.I "directory \&..."
]
.SH DESCRIPTION
Recursively decends each specified directory and compresses each
file.
Each file is replaced by a file with the extension
.B "\&.Z,"
but only if the file got smaller.
If no directories are specified,
the compression is applied to all files starting with the current directory.
Compressed files can be restored to their original form by running
.I uncompressdir
on the directories.
.PP
The
.I flags
specified are passed to the compress(1) program.
.SH "SEE ALSO"
compress(1)