Using tar with parallel compression using pigz with multi cores processor
Using tar with parallel compression using pigz with multi cores processor
$ tar cvf MYDIRECTORY.tar.gz --use-compress-prog=pigz MYDIRECTORY
In a similar way, you can list the contents of the tarball like this: $ tar tvf MYDIRECTORY.tar.gz --use-compress-prog=pigz
Or you can extract the tar like this:
$ tar xvf MYDIRECTORY.tar.gz --use-compress-prog=pigz
Comments
Post a Comment