From a5409ed43784ba0dcbe6dc519dfc432b3a6a4209 Mon Sep 17 00:00:00 2001 From: Ruben Vereecken Date: Mon, 25 Jan 2016 00:24:49 +0100 Subject: [PATCH] Edited pigz to more fitting examples --- pages/common/pigz.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/common/pigz.md b/pages/common/pigz.md index 29fb213620..91546501de 100644 --- a/pages/common/pigz.md +++ b/pages/common/pigz.md @@ -4,11 +4,15 @@ - Compress a file with default options: -`pigz {{filename.ext}}` +`pigz {{filename}}` -- Compress a file using compression method [1-9] and number of processors [-pN]: +- Compress a file using the best compression method: -`pigz -9 -p8 {{filename.ext}}` +`pigz -9 {{filename}}` + +- Compress a file using no compression and 4 processors: + +`pigz -0 -p{{4}} {{filename}}` - Decompress a file: @@ -17,7 +21,3 @@ - List the contents of an archive: `pigz -l {{archive.tar.gz}}` - -- Create an compressed archive when piped with tar: - -`tar cvf - {{directory/to/archive}} | pigz -9 -p8 > {{archive.tar.gz}}` \ No newline at end of file