Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Search Forums:



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-07-2006
Registered User
 

Join Date: Jun 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
How can i unzip .gz extension file?

I have pulled a .gz file from UNIX to window. Is there way to unzip UNIX based file on window?

Thanks advance.
Sponsored Links
    #2  
Old 06-07-2006
Technorati Master
 

Join Date: Mar 2005
Location: classification algos
Posts: 3,174
Thanks: 17
Thanked 26 Times in 24 Posts
you didnt mention about the unzip tool you use in windows,

you can very well pull the file from unix to windows and unzip with the common
WinZip or WinRar... that would do !!!
Sponsored Links
    #3  
Old 06-07-2006
Registered User
 

Join Date: Jun 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How can i unzip .gz extension file?

Sorry i am using winzip but we i try to open the file it say

"Invalid Compressed Data - unable to inflate"

Thanks in advance.
    #4  
Old 06-07-2006
Technorati Master
 

Join Date: Mar 2005
Location: classification algos
Posts: 3,174
Thanks: 17
Thanked 26 Times in 24 Posts
I am not very sure of this,

Could be compression of the source file was not completed properly or missing compression header information !!!
Sponsored Links
    #5  
Old 06-07-2006
Registered User
 

Join Date: Aug 2001
Posts: 179
Thanks: 0
Thanked 0 Times in 0 Posts
Can you try gunzip on unix machine itself and see if it extracts fine..This will tell you if it was packed correctly or not..

You may want to try packit with tar on unix and winzip/winrar on Windows then
Sponsored Links
    #6  
Old 06-09-2009
Registered User
 

Join Date: Jun 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Wink Ascii VS Binary transfer

Well if someone stumbles upon the same problem, yes it works if you take a .gz and transport it to a Windows machine, BUT you have to transfer it in a binary format... If you are using ASCII it will not work. For example with Hummingbird I switch between BIN and ASCII to make sure the transfer is in the suitable format.
Sponsored Links
    #7  
Old 06-23-2009
Registered User
 

Join Date: Jun 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
if u r downloading the file from Unix servers and the file size is larger , i guess u could nt open this file .as my previous knowledge , please follow this procedure it might be helpful . gzip filename.gz file server to local server . it will be extracted to local server . u can able to view the document. or after downloading . or download the file using ftp and extract it . it will be work . if u r downloading the directly from server it might n't be downloaded properly .

With Regards,
Prasad
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to Unzip a .ZIP file in Unix without using unzip cmd..????? sureshg_sampat Shell Programming and Scripting 5 11-15-2008 03:44 AM
how to unzip File which has no extension thepurple Solaris 13 11-29-2007 04:46 AM
How to Unzip a .ZIP file in Unix without using unzip cmd..????? sureshg_sampat HP-UX 5 02-08-2007 09:01 AM
How to unzip a .zip file when yogesh_powar UNIX for Advanced & Expert Users 2 06-30-2006 02:40 AM
unzip a zip file xNYx UNIX for Dummies Questions & Answers 4 03-20-2002 08:02 PM



All times are GMT -4. The time now is 03:08 AM.