Re: [dev] [sltar] Listed project idea to extend sltar with compression

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Fri, 10 Feb 2017 20:47:26 +0100

On Fri, Feb 10, 2017 at 2:54 PM, yamada yohei <yamadayohei_AT_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
Received on Fri Feb 10 2017 - 20:47:26 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 10 2017 - 21:00:06 CET