4 ms·
My most used cli tool outside of the default nuts and bolts is dtrx, the best and easiest file extractor for *nix. No more fiddling with flags or looking up, ha
by genieyclo 15y ago
My most used cli tool outside of the default nuts and bolts is dtrx, the best and easiest file extractor for *nix. No more fiddling with flags or looking up, handles issues with putting lots of things in different directories or the wrong permissions on files. It has saved me a ton of time over the years.
http://brettcsmith.org/2007/dtrx/ http://brettcsmith.org/2007/dtrx/
- divtxt 15y agoWow! Just wow! Bookmarked! A mere upvote is not enough for this! Thank you!!! Questions: - Is there a site pointing out amazing command line tools like this? (their existence as opposed to usage examples like at http://www.commandlinefu.com/ http://www.commandlinefu.com/) - Is there a site listing the OS X equivalents for Linux command line tools? (e.g. what's the OS X equivalent for dos2unix / flip?) (edit: merge 2 comments into 1)
- genieyclo 15y agoYep, check out http://onethingwell.org http://onethingwell.org which is exactly that. Software (incl cli) that do one thing well, as according to the UNIX philosophy. It's nicely tagged as well, so you can click the 'osx' tag and get tools just for OS X and so forth. I actually found dtrx on hacker news though a few years ago, but it's also on onethingwell I believe.
- BasDirks 15y agoAmazing, cheers.
- deleted 15y ago[deleted]
- ludwigvan 15y agoActually, for extracting tar files, using xf is enough. tar xf archive.tar.gz tar xf archive.tar.bz2 Still, this will be useful for other formats, I think. Thanks.
- ez77 15y agoDon't you need the z and j flags, respectively? The way you write it works for uncompressed tars.