wpkg --decompress

Options Comments
--force-all Force the hold and overwrite.
--force-hold Keep the original (compressed) files.
--force-overwrite Overwrite destination if it exists.
--no-force-all Prevent the hold and overwrite files.
--no-force-hold Do not keep the compressed files.
--no-force-overwrite Prevent any overwrite of existing files.
--output-filename Explicit output filename.
--refuse-all Prevent the hold and overwrite files.
--refuse-hold Do not keep the compressed files.
--refuse-overwrite Prevent any overwrite of existing files.
--verbose Print names of files skipped.

The wpkg --decompress command is used to decompress a file with one of the wpkg supported decompressors. The command expects one or more filenames to be decompressed. The filename must include the compression extension.

For example, to decompress a file such as wpkg.tar.gz, one can write:

wpkg --decompress wpkg.tar.gz

The result will be wpkg.tar.

The --force-hold option can be used to keep the compressed version of the files specified on the command line.

The --force-overwrite option is used to request wpkg to overwrite an existing file. So if you are decompressing wpkg.tar.gz and the file wpkg.tar already exists, the file is not overwritten by default. The --force-overwrite requests for the file to be overwritten.

The --output-filename option can be used to define the exact name where the decompressed file is to be saved. Note, however, that this requires the --decompress command to be used with only one input filename.

The opposite command is the --compress command.

IMPORTANT NOTE
Note that the --no-force-all, in this case, has the side effect of allowing removal of source files which is the opposite of what would be expected of the --no-force-all command (i.e. it should protect all files.)