From f310c52eb5545a0aff4356f94c2f8f2a339ded06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Here=C3=B1=C3=BA?= Date: Mon, 19 Dec 2022 07:12:15 -0300 Subject: [PATCH] bzip2: add examples (#9256) --- pages/common/bzip2.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/pages/common/bzip2.md b/pages/common/bzip2.md index cd07a3c72..f9d4eb28b 100644 --- a/pages/common/bzip2.md +++ b/pages/common/bzip2.md @@ -1,7 +1,7 @@ # bzip2 > A block-sorting file compressor. -> More information: . +> More information: . - Compress a file: @@ -14,3 +14,19 @@ - Decompress a file to standard output: `bzip2 -dc {{path/to/compressed_file.bz2}}` + +- Test the integrity of each file inside the archive file: + +`bzip2 --test {{path/to/compressed_file.bz2}}` + +- Show the compression ratio for each file processed with detailed information: + +`bzip2 --verbose {{path/to/compressed_files.bz2}}` + +- Decompress a file overwriting existing files: + +`bzip2 --force {{path/to/compressed_file.bz2}}` + +- Display help: + +`bzip2 -h`