Skip to content

Instantly share code, notes, and snippets.

@mikequentel
Created October 16, 2015 16:33
Show Gist options
  • Save mikequentel/4ab690eb917e7ae3680b to your computer and use it in GitHub Desktop.
Save mikequentel/4ab690eb917e7ae3680b to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ -z $1 ]; then
echo "specify file name"
exit 1
fi
bzip2 -dc $1 | tar xvf -
@mikequentel
Copy link
Author

Expands tar.bz2...example: ./bz2expand.sh heirloom-070715.tar.bz2

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