Created
October 16, 2015 16:33
-
-
Save mikequentel/4ab690eb917e7ae3680b to your computer and use it in GitHub Desktop.
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/bash | |
if [ -z $1 ]; then | |
echo "specify file name" | |
exit 1 | |
fi | |
bzip2 -dc $1 | tar xvf - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expands tar.bz2...example:
./bz2expand.sh heirloom-070715.tar.bz2