/Extract

Bash function for extract: .zip, .rar, .bz2, .gz, .tar, .tbz2, .tgz, .Z, .7z, .xz, .exe, .tar.bz2, .tar.gz, .tar.xz

Primary LanguageShell

Command/function extract in your console

What’s a good way to extract: .zip, .rar, .bz2, .gz, .tar, .tbz2, .tgz, .Z, .7z, .xz, .exe, .tar.bz2, .tar.gz, .tar.xz files on the Mac or Linux?

The goal is to make extract able to extract anything you give it. The command extract uses the free unpackers to support many older, obscure formats like this: .zip, .rar, .bz2, .gz, .tar, .tbz2, .tgz, .Z, .7z, .xz, .exe, .tar.bz2, .tar.gz, .tar.xz

How to install (Mac OS X)

Mac OS X

Copy&Paste function into file ~/.bash_profile

Ubuntu / *nix

Copy&Paste function into file ~/.bashrc

How it use

Using command extract, in a terminal $ extract <archive_filename.extention>

Donate a beer

You are more than welcome to donate me some beer money :)

Click here to lend your support to: assertHTMLValidate for PHPUnit and make a donation at www.pledgie.com !

License

Author Vitalii Tereshchuk. © 2013, MIT license.