0.0.1 • Published 13 years ago
explode v0.0.1
explode
explode (and implode) are command line utilities for creating and opening .tar, .tar.gz, .tar.bz2 directories. Because life is too short for tar.
Install
npm install explode -gYou can now use explode and implode from the command line.
Examples
Explode
Extract foo.tar into ./foo
explode foo.tarExtract foo.tar into ~/bar
explode foo.tar ~/barExtract foo.tar.gz
explode foo.tar.gzExtract foo.tar.bz2 into ./bar
explode foo.tar.bz2 barImplode
Implode creates tar files from directories, using the compression indicated by the filename.
Create a foo.tar from the bar directory
implode foo.tar barCreate a foo.tar.gz from the bar directory
implode foo.tar.gz barCreate a foo.tar.bz2 from the bar directory.
implode foo.tar.bz2 barImplode is forgiving
If you just want to tar a directory, this will do what you expect
implode bar #=> creates bar.tarGetting the args the wrong way around works as you expect
implode foo bar.tarThanks
To Heather Arthur for creating replace, on which this is based.
License
0.0.1
13 years ago