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

Popular posts from this blog

Securing the Pi-hole with fail2ban to prevent DNS Amplification attacks

How to clean DB from old logs in Magento 1.x

Python pxssh failed on login. could not set shell prompt