Skip to content

Instantly share code, notes, and snippets.

@emadshanab
Forked from olivierpierre/pigzu.sh
Created April 4, 2021 12:16
Show Gist options
  • Save emadshanab/a3a561a53ebc4d6d0ccc6ef69b2f73e8 to your computer and use it in GitHub Desktop.
Save emadshanab/a3a561a53ebc4d6d0ccc6ef69b2f73e8 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 -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment