1833764 Members
2960 Online
110063 Solutions
New Discussion

tar with gzip option

 
SOLVED
Go to solution
Stuart Powell
Super Advisor

tar with gzip option

Is anyone aware of a tar source that had a gzip option that will run on HP-UX 11.XX?

Stuart
Sometimes the best answer is another question
6 REPLIES 6
G. Vrijhoeven
Honored Contributor
Solution

Re: tar with gzip option

Hi Stuart,

That can be done with gnu tar:

http://hpux.cs.utah.edu/hppd/hpux/Gnu/tar-1.13.25/

HTH,

Gideon
Sanjay_6
Honored Contributor

Re: tar with gzip option

Hi Stuart,

I don't think someone is even working along those lines, combining tar and gzip.

Try zip from this link,

http://hpux.cs.utah.edu/hppd/hpux/Misc/zip-2.3/

Regds
Stuart Powell
Super Advisor

Re: tar with gzip option

Thanks. That looks like what I need.
Sometimes the best answer is another question
dirk dierickx
Honored Contributor

Re: tar with gzip option

gnu tar has integration with gzip.
the tar included with hpux can not do it, but you can simply pipe the output tar produces to gzip instead.
rmueller58
Valued Contributor

Re: tar with gzip option

It is the GNU tar, I've been using it on Linux for sometime..

tar -cvzf filename.tar.gz filename

or

tar -xvzf filename.tar.gz filename


If someone gets working on 11.00 let me know how you did it..
Laurent Laperrousaz
Regular Advisor

Re: tar with gzip option

another solution is:
gunzip -c filename.tar.gz|tar xvf -

then you don't need gnu tar...