We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

can UNIX unzip a winzip file?

ueihp
ueihp asked
on
Medium Priority
10,037 Views
Last Modified: 2013-12-06
Are there anytools for UNIX that would unzip a winzip file?
Comment
Watch Question

Commented:
I think gzip will do that.  Not sure though.
Yep, try gzip, or rather, gunzip.

Commented:
Winzip uses PKware algorithm to compress and uncompress files, so if you want to be 100% sure you can do it, you have to get pkzip and pkunzip for UNIX in the PKware's site:

http://www.pkware.com

gzip and/or gunzip can work in most cases, but are not exactly the same thing...

Author

Commented:
I tried gunzip

prompt> gunzip temp.zip
gunzip: temp.zip: unknown suffix -- ignored
prompt> gunzip -S .zip temp.zip
gunzip: temp.zip has more than one entry -- unchanged
prompt> gunzip -S .zip -f temp.zip
gunzip: temp.zip has more than one entry -- unchanged
prompt> gunzip -S .zip -rdf temp.zip
gunzip: temp.zip has more than one entry -- unchanged
prompt>

What am I doing wrong here?  I don't have pkunzip and install things on computers at work is a hassle.
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
gunzip did not work for me but pkzip worked well.

Thank you.

Commented:
I experienced this same problem.

I resolved the problem by using the "unzip" command to unzip the file.

This worked for me.  I just had to run dos2unix on the files to remove the "^M" carriage return characters at the end of each line.

Commented:
Does anyone know if the zip and unzip utilities come standard on the AIX 5.1 CD?
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.