Re:Show HN: Extract it – Because nobody can remember tar com...
by madprops on Thursday September 10, 2015 @07:42PM
(#10201225)
Why hasn't anyone made (afaik) an all in one extractor that depends on all the popular compression tools and uses the appropriate one depending on the extension. That would be useful.
[ Parent
| on HN ]
Re:Show HN: Extract it – Because nobody can remember tar com...
by cperciva on Thursday September 10, 2015 @07:43PM
(#10201232)
bsdtar does this, except by looking at the file format rather than looking at the extension. It supports tar, pax, cpio, zip, xar, lha, ar, cab, mtree, rar, and ISO images, compressed using gzip, bzip2, lzip, xz, lzma, or compress.
Re:Show HN: Extract it – Because nobody can remember tar com...
by adrusi on Thursday September 10, 2015 @08:53PM
(#10201442)
It's called tar. Seriously. I'm positive gnu tar will pick the compression engine based on the file contents, I think bsd does too. It's not a documented standard, but if all implementations support it, it may as well be.