- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to create a Tar file as zipped from ab initi...
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
06-22-2000 02:20 PM
06-22-2000 02:20 PM
How to create a Tar file as zipped from ab initio?
Is this available for Archival files creation with both '-cvf' and '-uvf' options.
This detail would be very helpful.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2000 02:27 PM
06-22-2000 02:27 PM
Re: How to create a Tar file as zipped from ab initio?
tar cvf - somedir|gzip > somedir.tar.gz
This will create your tar archive as a zipped file without having to create the archive first.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2000 02:28 PM
06-22-2000 02:28 PM
Re: How to create a Tar file as zipped from ab initio?
tar cvf - somedir|gzip > somedir.tar.gz
This will create your tar archive as a zipped file without having to create the archive first.
Naturally, the tar "v" switch is optional. On HPUX 11 gzip and gunzip can be found in the /usr/contrib/bin directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2000 02:29 PM
06-22-2000 02:29 PM
Re: How to create a Tar file as zipped from ab initio?
"tar cvf - somedir|gzip > somedir.tar.gz"
Note that will only work for a "cvf" since tar cannot process and gzipped file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2000 02:32 PM
06-22-2000 02:32 PM
Re: How to create a Tar file as zipped from ab initio?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2000 09:58 PM
06-22-2000 09:58 PM
Re: How to create a Tar file as zipped from ab initio?
http://hpux.asknet.de/hppd/hpux/Gnu/tar-1.13.16/
The option you need is -z or -Z:
#tar -czvf archive.tar.gz files_to_archive
This option is not available in the standard HP-UX tar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2000 06:28 AM
06-23-2000 06:28 AM
Re: How to create a Tar file as zipped from ab initio?
gunzip -c archive.tar.gz | tar xvf -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2000 12:58 PM
06-23-2000 12:58 PM