uncompress


uncompress

Purpose

Decompress one or more files that have been compressed using the compress command.

Syntax

uncompress [-cdrvV] files

Options

-c writes the result to the standard output and retains the original.

-r recursively decompresses files in all subdirectories.

-v displays a message as each file is decompressed.

-V prints the version number and exits.

Description

The uncompress command decompresses each specified file and replaces the compressed version with the original (also removes the .Z suffix appended to the name of the compressed file). Using the uncompress command yields the same result as running compress with the -d option.