Is there anyway to extract a tar.gz file faster than
tar -zxvf filenamehere?
We have large files, and trying to optimize the operation.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
pigz is a parallel version of gzip. Although it only uses a single thread for decompression, it starts 3 additional threads for reading, writing, and check calculation. Your results may vary but we have seen significant improvement in decompression of some of our data sets. Once you install pigz the tar file can be extracted with:
pigz -dc target.tar.gz | tar xf -