uncompress expands compressed data written by the
compression programs compress and mkszip.
Data is read from file or the standard input.
The name of the file to be decompressed usually ends with .Z
.gz, or .bz2.
If file doesn't have one of these extensions,
uncompress looks for file.Z,
file.gz, and file.bz2
(in that order).
uncompress places the decompressed output in a file with
the same name but without the extension.
If this file already exists,
uncompress asks if you want to overwrite it,
unless you specify the
For LZW-compressed files, the number of bits of compression is encoded in the compressed data, so the uncompress command automatically uses the correct number of bits. This includes the 9-14 bit compression range specified by XPG.
writes decompressed output to the standard output (like zcat).
forces the file to be decompressed, even if a file with the same base name already exists.
puts the output file in the specified output_directory.
specifies that the input file is not to be removed.
prints the version number information for uncompress.
displays the name of each file when it is decompressed.
MKS Toolkit supports hard links under 7/2008R2/8/2012/10/2016/2019 on NTFS file systems. There is a slight loss of performance for this support. If you do not require hard link support, you should set and export the environment variable TK_NTLINKS_OFF to disable this support.
Possible exit status values are:
Failure due to any of the following:
x/OPEN Portability Guide 4.0. Windows 7. Windows Server 2008 R2. Windows 8. Windows Server 2012. Windows 10. Windows Server 2016. Windows Server 2019.
uncompress is found on many UNIX systems. That version allows decompression in place as well as to the standard output.
The support for .gz and .bz2 files and
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
- bzdiff, bzgrep, bzip2, bzmore, compress, cpio, gzip, mkszip, pax, tar, unpack, unzip, zcat, zip, zipinfo
MKS Toolkit Backup and Tape Handling Solutions Guide
PTC MKS Toolkit 10.2 Documentation Build 28.