[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] tar -tvf myarchive.zip --gunzip does not work
From: |
John Hein |
Subject: |
Re: [Bug-tar] tar -tvf myarchive.zip --gunzip does not work |
Date: |
Fri, 12 Sep 2008 08:56:51 -0600 |
suman wrote at 09:47 +0530 on Sep 12, 2008:
> I created the myarchive.zip using a zip utility, directly zipped; no tar is
> used here.
>
> Now I want to use tar to unzip it. When I run above command, it ends up with
> following error:
> -------------------
> gzip: stdin has more than one entry--rest ignored
> tar: Child returned status 2
> tar: Error exit delayed from previous errors
> --------------------
> is it not allowed to list/unzip files using tar when the compression is done
> by zip? Or I need to use some other options. The Manual says with -gunzip,
> tar browse the files with gunzip for any operations like -t, -x etc.
> Even commands like following fails:
> --------------------
> tar -tvf myarchive.zip -z --gunzip
> --------------------
> Please let me know if it's a known issue/bug.
>
> Thank you a lot.
>From the manual...
=======================
8.1.1 Creating and Reading Compressed Archives
----------------------------------------------
GNU `tar' is able to create and read compressed archives. It supports
`gzip', `bzip2' and `lzma' compression programs. For backward
compatibility, it also supports `compress' command, ...
=======================
gnu tar has never supported zip format, AFAIK. bsdtar is one utility
that does grok zip format as well as many other archive/compression
formats. There may be others.