Solved

can UNIX unzip a winzip file?

Posted on 1998-09-01
8
9,363 Views
Last Modified: 2013-12-06
Are there anytools for UNIX that would unzip a winzip file?
0
Comment
Question by:ueihp
8 Comments
 
LVL 2

Expert Comment

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

Expert Comment

by:braveheart
Comment Utility
Yep, try gzip, or rather, gunzip.
0
 
LVL 4

Expert Comment

by:jlms
Comment Utility
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
 

Author Comment

by:ueihp
Comment Utility
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 4

Accepted Solution

by:
jlms earned 0 total points
Comment Utility
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
Comment Utility
gunzip did not work for me but pkzip worked well.

Thank you.

0
 

Expert Comment

by:wilsog05
Comment Utility
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
Comment Utility
Does anyone know if the zip and unzip utilities come standard on the AIX 5.1 CD?
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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.:
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now