mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 04:26:01 +02:00
brotli: add page (#5016)
This commit is contained in:
parent
a1dbd179a5
commit
05cdce5001
1 changed files with 24 additions and 0 deletions
24
pages/common/brotli.md
Normal file
24
pages/common/brotli.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# 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 {{file.ext}}`
|
||||||
|
|
||||||
|
- Decompress a file, creating an uncompressed version next to the file:
|
||||||
|
|
||||||
|
`brotli -d {{file.ext}}.br`
|
||||||
|
|
||||||
|
- Compress a file specifying the output filename:
|
||||||
|
|
||||||
|
`brotli {{file.ext}} -o {{compressed_file.ext.br}}`
|
||||||
|
|
||||||
|
- Decompress a brotli file specifying the output filename:
|
||||||
|
|
||||||
|
`brotli -d {{compressed_file.ext.br}} -o {{file.ext}}`
|
||||||
|
|
||||||
|
- Specify the compression level. 1=Fastest (Worst), 11=Slowest (Best):
|
||||||
|
|
||||||
|
`brotli -q {{11}} {{file.ext}} -o {{compressed_file.ext.br}}`
|
Loading…
Add table
Reference in a new issue