view miscellany/compress-4.0/compressdir.1 @ 0:bce86c4163a3

Initial revision
author kono
date Mon, 18 Apr 2005 23:46:02 +0900
parents
children
line wrap: on
line source

.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)