Hacker News new | ask | show | jobs
by matoro 1720 days ago
I use atool (https://www.nongnu.org/atool/) for unpacking random archives - it abstracts away all formats including zip/rar/7z, compression and also guarantees that nothing is ever extracted into $CWD.
2 comments

I use `unp` for the same thing. `-u` extracts into a directory.
Since unp is a stock ticker, it's a little harder to find: https://github.com/mitsuhiko/unp

Looks like it might be in standard Ubuntu repositories:

https://manpages.ubuntu.com/manpages/xenial/man1/unp.1.html

i use unar/lsar

https://theunarchiver.com/command-line https://github.com/MacPaw/XADMaster

in difference to unp and atool, unar does not depend on other tools to unpack the actual archive

Gotta check that out, thanks for the tip!