From 705601f0b19fe529e82b09b5916666f66752c7f1 Mon Sep 17 00:00:00 2001 From: Cedric Dufour Date: Fri, 4 Sep 2015 10:06:37 +0200 Subject: [PATCH] Added parallel (multi-threaded) processing --- cheat/cheatsheets/tar | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cheat/cheatsheets/tar b/cheat/cheatsheets/tar index efa615f..088137a 100644 --- a/cheat/cheatsheets/tar +++ b/cheat/cheatsheets/tar @@ -24,3 +24,8 @@ tar -jtvf /path/to/foo.tgz # To create a .gz archive and exclude all jpg,gif,... from the tgz tar czvf /path/to/foo.tgz --exclude=\*.{jpg,gif,png,wmv,flv,tar.gz,zip} /path/to/foo/ + +# To use parallel (multi-threaded) implementation of compression algorithms: +tar -z ... -> tar -Ipigz ... +tar -j ... -> tar -Ipbzip2 ... +tar -J ... -> tar -Ipixz ...