From e30345bfde6c49171ea18d45f5ec93114b45d3b2 Mon Sep 17 00:00:00 2001 From: cPlevey Date: Thu, 14 Jan 2016 06:12:09 -0600 Subject: [PATCH] added pigz --- pages/common/pigz.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/common/pigz.md diff --git a/pages/common/pigz.md b/pages/common/pigz.md new file mode 100644 index 000000000..29fb21362 --- /dev/null +++ b/pages/common/pigz.md @@ -0,0 +1,23 @@ +# pigz + +> Multithreaded zlib compression utility. + +- Compress a file with default options: + +`pigz {{filename.ext}}` + +- Compress a file using compression method [1-9] and number of processors [-pN]: + +`pigz -9 -p8 {{filename.ext}}` + +- Decompress a file: + +`pigz -d {{archive.gz}}` + +- 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