Options (3)
-d, --decompressbooleanDecompress a file, creating an uncompressed version next to the file
Example:
brotli {{[-d|--decompress]}} {{path/to/file.br}}-o, --outputbooleanCompress a file specifying the output filename
Example:
brotli {{path/to/file}} {{[-o|--output]}} {{path/to/compressed_output_file.br}}-q, --qualitybooleanSpecify 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/fileDecompress a file, creating an uncompressed version next to the file
brotli [-d|--decompress] path/to/file.brCompress a file specifying the output filename
brotli path/to/file [-o|--output] path/to/compressed_output_file.brDecompress a Brotli file specifying the output filename
brotli [-d|--decompress] path/to/compressed_file.br [-o|--output] path/to/output_fileSpecify the compression quality (1=fastest (worst), 11=slowest (best))
brotli [-q|--quality] 11 path/to/file [-o|--output] path/to/compressed_output_file.brmade by @shridhargupta | data from tldr-pages