[arch-general] Error for extract archive .tar

Evangelos Foutras foutrelis at gmail.com
Wed Jan 12 04:45:22 EST 2011


On Wed, Jan 12, 2011 at 11:18 AM, Vitor Eiji Justus Sakaguti
<vitoreiji0 at gmail.com> wrote:
> On Wed, Jan 12, 2011 at 12:46 AM, dario <darioslc at gmail.com> wrote:
>> Hi! i have a problem for extract an archive .tar, because when write
>> "tar -xzvf archive.tar.gz" i get the messenge:
>> gzip: stdin: not in gzip format
>> tar: Child returned status 1
>> tar: Error is not recoverable: exiting now
>
> Well, if it is a .tar and not a .tar.gz, you should use "tar -xf".

Recently I learned that tar recognizes the compression format
automatically (apparently, since v1.15 released on 2004-12-20).

So yeah, `tar xf' is enough for any archive, compressed or otherwise. :p


More information about the arch-general mailing list