tldr/pages/common/brotli.md
Vitor Henrique 1ba7fb9460
pages*: add missing mnemonics (#12151)
* pages*: add missing mnemonics

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-19 19:43:42 +05:30

731 B

brotli

Compress/uncompress files with Brotli compression. More information: https://github.com/google/brotli.

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

brotli {{path/to/file}}

  • [d]ecompress a file, creating an uncompressed version next to the file:

brotli -d {{path/to/file.br}}

  • Compress a file specifying the [o]utput filename:

brotli {{path/to/file}} -o {{path/to/compressed_output_file.br}}

  • [d]ecompress a Brotli file specifying the [o]utput filename:

brotli -d {{path/to/compressed_file.br}} -o {{path/to/output_file}}

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

brotli -q {{11}} {{path/to/file}} -o {{path/to/compressed_output_file.br}}