Skip to content

Instantly share code, notes, and snippets.

@olivierpierre
Created July 13, 2016 19:02
Show Gist options
  • Save olivierpierre/b8c94b9b29d343480f1e0fae1bfad7bd to your computer and use it in GitHub Desktop.
Save olivierpierre/b8c94b9b29d343480f1e0fae1bfad7bd to your computer and use it in GitHub Desktop.
Uncompress a directory tree contained in a tarball with pigz
#!/bin/sh
if [ "$1" == "" ]; then
echo "Usage: $0 <file to uncompress>"
exit
fi
pigz -dc $1 | tar xf -
@olivierpierre
Copy link
Author

For the related compression script: here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment