COMPRESSION_TOOL(1) General Commands Manual COMPRESSION_TOOL(1)
NAME
compression_tool - encode/decode files using the Compression library
SYNOPSIS
compression_tool -encode | -decode [-a algorithm] [-i input_file] [-o output_file] [-v] [-h]
DESCRIPTION
compression_tool encodes (compresses), or decodes (uncompresses) files using the Compression library.
OPTIONS
-encode
Encode (compress) the input
-decode
Decode (uncompress) the input
-a algorithm
Set the compression algorithm, valid options are zlib, lzma, lzfse, lz4, lz4_raw. Default is lzfse.
- zlib raw DEFLATE payload, as defined in IETF RFC 1951, encoder is zlib level 5,
- lzma LZMA2 payload inside a XZ container, encoder is LZMA2 preset 6,
- lz4 raw LZ4 payload inside a custom container (described in compression.h),
- lz4_raw raw LZ4 payload,
- lzfse LZFSE payload.
-i input_file
Input file. If omitted, read from standard input.
-o output_file
Output file. If omitted, write to standard output.
-v Increase verbosity. Default is silent operation.
-h Print usage and exit.
COMPRESSION_TOOL(1)