-
-
Save aahung/9c7c2831afacab1ee48f245e05ea1ba3 to your computer and use it in GitHub Desktop.
Multithreading gzip Compress using pigz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://stackoverflow.com/a/12320421 | |
# -9 for better compression | |
# 32 is number of cores to use | |
tar cf - paths-to-archive | pigz -9 -p 16 > archive.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment