Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / miscellany / compress-4.0 / compressdir.1
1 .PU
2 .TH COMPRESSDIR 1 local
3 .SH NAME
4 compressdir, uncompressdir \-  compress and uncompress directories of files
5 .SH SYNOPSIS
6 .ll +8
7 .B compressdir
8 [ flags ] [
9 .I "directory \&..."
10 ]
11 .ll -8
12 .br
13 .B uncompressdir
14 [ flags ] [
15 .I "directory \&..."
16 ]
17 .SH DESCRIPTION
18 Recursively decends each specified directory and compresses each
19 file.
20 Each file is replaced by a file with the extension
21 .B "\&.Z,"
22 but only if the file got smaller.
23 If no directories are specified,
24 the compression is applied to all files starting with the current directory.
25 Compressed files can be restored to their original form by running
26 .I uncompressdir
27 on the directories.
28 .PP
29 The
30 .I flags
31 specified are passed to the compress(1) program.
32 .SH "SEE ALSO"
33 compress(1)