- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: gzip question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2008 06:38 AM
10-06-2008 06:38 AM
gzip question
is it possible to gzip and gunzip directories..
in hpux
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2008 06:43 AM
10-06-2008 06:43 AM
Re: gzip question
If you create archive file of the directory using tar command then apply gzip
It's same for gunzip also. once done, extract the directory using tar command.
Regards,
VVS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2008 07:04 AM
10-06-2008 07:04 AM
Re: gzip question
file. However, you can use "tar" (or "pax")
to create that one file, and that is what is
generally done.
A Forum search for keywords like:
tar pipeline
should find many examples (of things to do
and things not to do).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2008 08:50 AM
10-06-2008 08:50 AM
Re: gzip question
If you want to zip directories you should go for zip/unzip utilies which is available for HPUX.
you can gzip/gunzip all files under a directory. All the files will gzipped with the extension of .gz
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2008 10:01 AM
10-06-2008 10:01 AM
Re: gzip question
You can either use tar or gzip.
=========
Commands
=========
#tar -cvf
#gzip -r
For detail see the man pages of "gzip".
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2008 11:55 AM
10-06-2008 11:55 AM
Re: gzip question
> go for zip/unzip [...]
That probably depends on why you're doing
this, as already explained elsewhere:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1275221
> #tar -cvf
That uses gzip how, exactly?
> #gzip -r
This may make sense, depending on what you
actually mean by "gzip and gunzip
directories". An unambiguous description of
what you're trying to do might be helpful
here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2008 12:03 PM
10-06-2008 12:03 PM
Re: gzip question
Your previous question related to this subject, and the answers provided to it should give you the anwser to this question:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1275221
Regards!
...JRF...