Re: Error for extract archive .tar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Jan 12, 2011 at 11:18 AM, Vitor Eiji Justus Sakaguti
<vitoreiji0@xxxxxxxxx> wrote:
> On Wed, Jan 12, 2011 at 12:46 AM, dario <darioslc@xxxxxxxxx> 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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux