2013 - a year in which you stop guessing tar flags
Looks familiar?
Worry no more! Use extract
and prosper!
Usage
$ extract [FILES]
Supported extensions
The script currently supports:
- tar.xz
- tar.bz
- tar.bz2
- tar.gz
- txz
- tgz
- tbz
- tbz2
- tb2
Installation
First method
Place it in your $PATH.
Second method
Do you trust me? You should, I'm a nice guy.
$ curl -fsSL https://gist.github.com/shime/5908634/raw/install | bash -e
If you get curl: (23) Failed writing body (0 != 462)
, it means you don't have write permissions to /usr/local/bin.
This will make it go away:
$ curl -fsSL https://gist.github.com/shime/5908634/raw/install | sudo\
bash -e
Enjoy!
Written by Hrvoje Šimić
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#