[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error (bug) in gunzip
From: |
Bob Proulx |
Subject: |
Re: Error (bug) in gunzip |
Date: |
Mon, 10 Sep 2007 19:32:20 -0600 |
User-agent: |
Mutt/1.5.9i |
address@hidden wrote:
> I want to use gunzip on linux to "uncompress" a winzip file
If you have 'unzip' available that would almost certainly always be
the preferred tool to unzip a zip file.
> In the meantime we us Putty's pscp.
Uhm... I do not understand the connection between pscp, an SSH file
copy client, and either gunzip or zip files. I don't see any
connection.
> address@hidden jk]# gunzip -t -S .zip Lifetrack01
>
> gunzip: Lifetrack01.zip: invalid compressed data--length error
The documentation says:
Files created by zip can be uncompressed by gzip only if they
have a single member compressed with the deflation method. This
feature is only intended to help conversion of tar.zip files to
the tar.gz format. To extract a zip file with a single member,
use a command like gunzip <foo.zip or gunzip -S .zip foo.zip.
To extract zip files with several members, use unzip instead of
gunzip.
What is in your zip file? If it contains multiple files or does not
match the expected zip format then this won't work.
unzip -v Lifetrack01.zip
Better to use unzip on zip file and simply avoid the issue entirely.
Bob
- Re: Error (bug) in gunzip,
Bob Proulx <=