On Fri, Feb 10, 2017 at 2:54 PM, yamada yohei <yamadayo...@gmail.com> wrote:
> Why we have to specify -z -j -a -Z or -J when decompress tar ball?
> Why doesn't tar distinguish them automatically? (It should achieve
> using file(1) or magic(5) database.)  I cannot remember all these
> options and always use pipeline e.g. bzcat | tar x.  I don't sltar to
> have these useless options.
>

It shouldn't. Out of distasteful curiousity which tar implementation
uses file(1) ? Nothing prevents you to write a shellscript wrapper to
use file(1), but it is a bad idea anyway.

You can't remember the options to extract a tarball? OK

Reply via email to