Link to home
Avatar of nQuote
nQuoteFlag for United States of America

asked on

Unzipping a Winzip file in UNIX

I have a Winzip file which I plan to ftp to my UNIX box. I would then like to unzip it using gunzip. Am I going to loose any characters? Is this doable? What are the pros and cons?
Avatar of sunnycoder
sunnycoder
Flag of India image

Hi soccerplayer,

unzip program comes with most of UNIX flavours

To unzip a zip file, simply do

unzip file.zip

This is doable and you will not lose any data

Cheers!
sunnycoder
Here is a link to man page in case you need to explore some other options
http://www.scit.wlv.ac.uk/cgi-bin/mansec?1+unzip

Same should be visible on your UNIX box using the command
man unzip
Avatar of nQuote

ASKER

Can I use gunzip?
No .. gunzip is used to uncompress .gz files.
Avatar of nQuote

ASKER

What if I ftp my file and rename it with a .gz extension? We have been able to make this work with a previous file but it is not working evry well with my current file.
ASKER CERTIFIED SOLUTION
Avatar of sunnycoder
sunnycoder
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial