Home » Infrastructure » Unix » Help needed with decompress of .gz file
Help needed with decompress of .gz file [message #145524] Thu, 03 November 2005 11:29 Go to next message
tillu
Messages: 8
Registered: April 2005
Junior Member
Hi,
I have a zipped archieve text file with extension .gz
The file name is
abc_234.txt.gz

but when i tried to decompress it with

gunzip abc_234.txt.gz

It gave an error as
invalid compressed data--format violated

...Please help me in unzipping this.

Thanks in advance.

Re: Help needed with decompress of .gz file [message #145546 is a reply to message #145524] Thu, 03 November 2005 14:20 Go to previous messageGo to next message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
was the file FTP'd from somewhere? If so was it done in Binary mode?

Try doing
strings abc_234.txt.gz | more
to see if you see any useful info. Maybe someone compressed the gzipped file and then renamed it to remove .Z?
Re: Help needed with decompress of .gz file [message #149349 is a reply to message #145524] Thu, 01 December 2005 05:52 Go to previous message
rushikesh
Messages: 6
Registered: December 2005
Location: Ahemedabad
Junior Member

Hi tilu,


type unzip <file name>


Warm Rgds,
Rushikesh Rana
Previous Topic: how to load multiple files into 1 table using unix script
Next Topic: UNIX based ORACLE
Goto Forum:
  


Current Time: Fri Mar 29 05:50:43 CDT 2024