?
Solved

gunzip

Posted on 1998-09-08
2
Medium Priority
?
2,242 Views
Last Modified: 2008-02-01
Can someone show me of an example of how gunzip can unzip a .zip file.  I have read the man pages but when I try to unzip I always get an error.
file.zip has more than one entry -- unchanged
>gunzip -S .zip myfile.zip
This is what I have tried.
0
Comment
Question by:ueihp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
sherwood earned 40 total points
ID: 2006908
In a nutshell, you can't.  gzip and it's companions are designed
to work with single files.  Any similarity between the name
gzip and the popular dos .ZIP archive format is nearly coincidence.  Gzip can read a zip file that has as it contents
a *SINGLE* file, hence the error message.

You need a package called info-zip, and it's companion info-unzip.    These can handle dos zip files.

0
 

Author Comment

by:ueihp
ID: 2006909
Thanks
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question