mirror of https://github.com/CrimsonTome/tldr.git
parent
50a4cedd22
commit
7aeaf9ccb5
|
@ -5,20 +5,20 @@
|
||||||
|
|
||||||
- Compress a file, creating a compressed version next to the file:
|
- Compress a file, creating a compressed version next to the file:
|
||||||
|
|
||||||
`brotli {{file.ext}}`
|
`brotli {{path/to/file}}`
|
||||||
|
|
||||||
- Decompress a file, creating an uncompressed version next to the file:
|
- Decompress a file, creating an uncompressed version next to the file:
|
||||||
|
|
||||||
`brotli -d {{file.ext}}.br`
|
`brotli -d {{path/to/file.br}}`
|
||||||
|
|
||||||
- Compress a file specifying the output filename:
|
- Compress a file specifying the output filename:
|
||||||
|
|
||||||
`brotli {{file.ext}} -o {{compressed_file.ext.br}}`
|
`brotli {{path/to/file}} -o {{path/to/compressed_output_file.br}}`
|
||||||
|
|
||||||
- Decompress a Brotli file specifying the output filename:
|
- Decompress a Brotli file specifying the output filename:
|
||||||
|
|
||||||
`brotli -d {{compressed_file.ext.br}} -o {{file.ext}}`
|
`brotli -d {{path/to/compressed_file.br}} -o {{path/to/output_file}}`
|
||||||
|
|
||||||
- Specify the compression level. 1=Fastest (Worst), 11=Slowest (Best):
|
- Specify the compression level [1=Fastest (Worst), 11=Slowest (Best)]:
|
||||||
|
|
||||||
`brotli -q {{11}} {{file.ext}} -o {{compressed_file.ext.br}}`
|
`brotli -q {{11}} {{path/to/file}} -o {{path/to/compressed_output_file.br}}`
|
||||||
|
|
Loading…
Reference in New Issue