How can i unzip .gz extension file?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How can i unzip .gz extension file?
# 1  
Old 06-07-2006
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.
# 2  
Old 06-07-2006
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 !!!
# 3  
Old 06-07-2006
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
I am not very sure of this,

Could be compression of the source file was not completed properly or missing compression header information Smilie Smilie Smilie !!!
# 5  
Old 06-07-2006
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
# 6  
Old 06-09-2009
Hammer & Screwdriver 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.
# 7  
Old 06-23-2009
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Unzip a gz file

Please tell me the unix command how to unzip a gz file(say a qwe.gz) and the orginal gz file should remain intact. Thanks in advance (7 Replies)
Discussion started by: pranabpal
7 Replies

2. UNIX for Dummies Questions & Answers

Display the .csv extension files based on .done extension fine

Hi All, I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing. 1.I need to display the .done files from the directory. 2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory ... (2 Replies)
Discussion started by: girija.g6
2 Replies

3. Shell Programming and Scripting

Unzip the .zip file without using unzip utility in UNIX

I have .zip file, i want to list all the files archived in the zip file. unzip utility is not working for me in unix. Please help me resolve this issue Thanks ganesh. (3 Replies)
Discussion started by: Ganesh L
3 Replies

4. UNIX for Dummies Questions & Answers

unzip single file in zip file to STDOUT

Hi, Does anyone know if there is an unzip command similar to tar -xOf $tarBall $fileInTarFile which will untar a single file in a tar ball to STDOUT ? I want to do the same but with a .zip (ZIP archive) file. - Andy ---------- Post updated at 05:56 PM ---------- Previous update... (0 Replies)
Discussion started by: andyatit
0 Replies

5. Shell Programming and Scripting

How to Unzip a file using unzip utility for files zipped without zip utility ?

Hi, I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server. How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies

6. Shell Programming and Scripting

How to unzip the file

Hi, I have a file in the form of .zip in unix directory, now I want to unzip the file in unix environment. May I know how to unzip this file File name: cust.zip Thanks in Advance... Aswice (1 Reply)
Discussion started by: aswice
1 Replies

7. Shell Programming and Scripting

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX). I don't have unzip cmd available in my curent Unix version Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file . Please elaborate on the commands aval and... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

8. Solaris

how to unzip File which has no extension

Hi experts, I have files as you see which is in gzip format. How can i uncompress it using gunzip/gzip/uncompress?? The file has NO extension. Do i need to rename the file as *.Z /or other and then unzip the file. bash-2.05$ file Files029999200711101618 Files029999200711101618: gzip... (13 Replies)
Discussion started by: thepurple
13 Replies

9. HP-UX

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX). I don't have unzip cmd available in my curent Unix version Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file . Please elaborate on the commands aval and... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

10. UNIX for Advanced & Expert Users

How to unzip a .zip file when

there is no unzip package present. (2 Replies)
Discussion started by: yogesh_powar
2 Replies
Login or Register to Ask a Question