Restores compressed files.
uncompress [ -c ] [ -F ] [ -f ] [ -n ] [ -q ] [ -V ] [ File ... ]
The uncompress command restores original files that were compressed by the compress command. Each compressed file specified by the File parameter is removed and replaced by an expanded copy. The expanded file has the same name as the compressed version, but without the .Z extension. If the user has root authority, the expanded file retains the same owner, group, modes, and modification time as the original file. If the user does not have root authority, the file retains the same modes and modification time, but acquires a new owner and group. If no files are specified, standard input is expanded to standard output.
File ... | Specifies the compressed files to restore. |
The uncompress command detects an error and exit with a status of 1 if any of the following events occur:
If no error occurs, the exit status is 0.
0 | Successful completion. |
>0 | An error occurred. |
To uncompress the foo.Z file, enter:
uncompress foo.Z
The foo.Z file is uncompressed and renamed foo.
The compress command, pack command, unpack command, zcat command.
Commands Overview in AIX 5L Version 5.2 System User's Guide: Operating System and Devices.