compression_tool(1) 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, process 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)
Mac OS X 10.12.6 - Generated Sun Oct 29 10:37:01 CDT 2017
