next up previous contents index
Next: The !md5 Command: Print Up: Compression Previous: The !gzip Command: Compress   Contents   Index

The !gunzip Command: Uncompress Files

Syntax: !gunzip infile [outfile]
This will uncompress the file given as infile, which was previously compressed with gzip, and has a ``.gz'' extension. If no outfile is given, output is written to a file with the same name as the infile but with the ``.gz'' suffix stripped. Under Unix/Linux this uses 64-bit file offsets so can be applied to files larger than 2Gb, unlike some versions of the GNU gunzip utility. Unlike the GNU gunzip program, this will not delete infile.

Stephen R. Whiteley 2017-03-22