From 05cdce5001cfce6c98903460fdfc99652fe1a212 Mon Sep 17 00:00:00 2001 From: Sosthene-Guedon <51865119+Sosthene-Guedon@users.noreply.github.com> Date: Sat, 12 Dec 2020 20:52:03 +0100 Subject: [PATCH] brotli: add page (#5016) --- pages/common/brotli.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/brotli.md diff --git a/pages/common/brotli.md b/pages/common/brotli.md new file mode 100644 index 000000000..7edada2bd --- /dev/null +++ b/pages/common/brotli.md @@ -0,0 +1,24 @@ +# Brotli + +> Compress/uncompress files with brotli compression. +> More information: . + +- 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}}`