commands.sh

brotli

all

Compress/uncompress files with Brotli compression.

More info →

Options (3)

-d, --decompressboolean

Decompress a file, creating an uncompressed version next to the file

Example: brotli {{[-d|--decompress]}} {{path/to/file.br}}
-o, --outputboolean

Compress a file specifying the output filename

Example: brotli {{path/to/file}} {{[-o|--output]}} {{path/to/compressed_output_file.br}}
-q, --qualityboolean

Specify the compression quality (1=fastest (worst), 11=slowest (best))

Example: brotli {{[-q|--quality]}} {{11}} {{path/to/file}} {{[-o|--output]}} {{path/to/compressed_output_file.br}}

Examples (5)

Compress a file, creating a compressed version next to the file

brotli path/to/file

Decompress a file, creating an uncompressed version next to the file

brotli [-d|--decompress] path/to/file.br

Compress a file specifying the output filename

brotli path/to/file [-o|--output] path/to/compressed_output_file.br

Decompress a Brotli file specifying the output filename

brotli [-d|--decompress] path/to/compressed_file.br [-o|--output] path/to/output_file

Specify the compression quality (1=fastest (worst), 11=slowest (best))

brotli [-q|--quality] 11 path/to/file [-o|--output] path/to/compressed_output_file.br
made by @shridhargupta | data from tldr-pages