Created
July 13, 2016 19:02
-
-
Save olivierpierre/b8c94b9b29d343480f1e0fae1bfad7bd to your computer and use it in GitHub Desktop.
Uncompress a directory tree contained in a tarball with 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
#!/bin/sh | |
if [ "$1" == "" ]; then | |
echo "Usage: $0 <file to uncompress>" | |
exit | |
fi | |
pigz -dc $1 | tar xf - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the related compression script: here.