1819696 Members
3384 Online
109605 Solutions
New Discussion юеВ

.gz files

 
SOLVED
Go to solution
Donald Thaler
Super Advisor

.gz files

how do you handle a file with an extension of
.gz.gz ???
14 REPLIES 14

Re: .gz files

gzip -d file.name
Steven Schweda
Honored Contributor

Re: .gz files

It depends on what's actually in the file.
The name may be suggestive, but it's not
determinative.

> gzip -d file.name

Worth a try.

Personally, I never get files named X.gz.gz.
How did you get yours?
Dennis Handly
Acclaimed Contributor

Re: .gz files

Did you mean it has two ".gz"?

You can use gunzip to remove one. Then use file(1) to see if it is really still gzipped.
TTr
Honored Contributor
Solution

Re: .gz files

I guess you are busy downloading those Acrobat prerequisites?
Run the "file xxxxx.gz.gz" command and if it tells you it is a gzip file, gunzip it. After that run the file command again "file xxxxx.gz" and repeat if necessary. If not you may have to rename the file. It is not different from having a windows zip file zip-ed twice.
Ganesan R
Honored Contributor

Re: .gz files

Hi,

Using unix gzip, a file cannot be zipped twice.
I doubt the file has been zipped once and renamed to have another .gz extensiion.

anyway we have file command to determine the type of file. Use #gunzip to unzip the file and #type

It will show the actual file type.

Best wishes,

Ganesh.
Ganesan R
Honored Contributor

Re: .gz files

Hi,

Typo error in my previous reply...

#type should be

#file

Apologize....
Best wishes,

Ganesh.
Donald Thaler
Super Advisor

Re: .gz files

i unzipped it and now when i do the file command it tells me its a tar file but the xtension is .gz, can i rename it with a .tar extensnion and untar it ???
Torsten.
Acclaimed Contributor

Re: .gz files

Just try

# tar -tvf

and don't care about the extension.

Sometime some browser do strange things with files during a download - e.g. a *.tar.gz is getting unziped, extensions are added, ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Donald Thaler
Super Advisor

Re: .gz files

the file was
gdk_pixbuf-0.20.0-hppa-11.23.depot.gz i untar'd it and it created a directory structure
/u04/gdk_pixbuf/gdk_pixbuf-RUN/usr/local
bin doc include lib share

can simply copy the bin directory to my usr/local/bin and the other directories to their respective /usr/local directories ??


Torsten.
Acclaimed Contributor

Re: .gz files

DO NOT UNTAR A DEPOT FILE!

use

# swlist -s /full/pah/to/gdk_pixbuf-0.20.0-hppa-11.23.depot

to view and swinstall to install.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Donald Thaler
Super Advisor

Re: .gz files

when i try the swintall the depot i get an error that the zdk.zdk-RUN wasn't found, any clue as to where that might be found ???
Donald Thaler
Super Advisor

Re: .gz files

the file that is required is zlib.zlib-RUN
Torsten.
Acclaimed Contributor

Re: .gz files

zlib depot is here:

http://hpux.asknet.de/hppd/hpux/Misc/zlib-1.2.3/

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor

Re: .gz files

>The file was gdk_pixbuf-0.20.0-hppa-11.23.depot.gz

Any reason you aren't using HP's supplied gtk_26800_pa.depot? All of the dependencies are in that depot.
http://www.hp.com/go/firefox

I mentioned this in your other thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1283909

Otherwise you need to download at least 10 depots.