Hacker News new | ask | show | jobs
by PJ_Maybe 2770 days ago
dtrx - Do The Right Extraction. It's a tool "for Unix-like systems that takes all the hassle out of extracting archives": https://brettcsmith.org/2007/dtrx/

In Debian/Ubuntu you can install via apt.

Also, I'd second tldr which has been mentioned here already. It provides simplified man pages which common usage examples that normally fit on a few lines on screen: https://tldr.sh/

2 comments

Dtrx is awesome, but is unfortunately slowly dying, as the author seems to have abandoned it -- it can't be installed with pip anymore.

I think I'm going to take it over, just need a name...

Kdtrx: Keep Doing The Right Extraction
Yeah it looks rather unmaintained, but can still be installed via apt on Ubuntu 18.04 LTS. So yeah should be fine for a few years to come if you are a Ubuntu user (the system I use, I have no idea about other distros).
tar xf <archive> works with all types of tar compressed files.