Solved

can UNIX unzip a winzip file?

Posted on 1998-09-01
8
9,499 Views
Last Modified: 2013-12-06
Are there anytools for UNIX that would unzip a winzip file?
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
8 Comments
 
LVL 2

Expert Comment

by:kellyjj
ID: 2006852
I think gzip will do that.  Not sure though.
0
 
LVL 3

Expert Comment

by:braveheart
ID: 2006853
Yep, try gzip, or rather, gunzip.
0
 
LVL 4

Expert Comment

by:jlms
ID: 2006854
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...
0
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!

 

Author Comment

by:ueihp
ID: 2006855
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.
0
 
LVL 4

Accepted Solution

by:
jlms earned 0 total points
ID: 2006856
pkunzip is an standalone program that you can have in your home directory... No need to "install" unless you sysadmin and/or company demands to check every sibgle file you put in the computers...
0
 

Author Comment

by:ueihp
ID: 2006857
gunzip did not work for me but pkzip worked well.

Thank you.

0
 

Expert Comment

by:wilsog05
ID: 7918385
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.
0
 

Expert Comment

by:pritct
ID: 8571550
Does anyone know if the zip and unzip utilities come standard on the AIX 5.1 CD?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

631 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