- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- extract specific files from backup.tar.gz in HPUX
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
Discussions
Discussions
Discussions
Forums
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
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
тАО08-05-2010 01:08 AM
тАО08-05-2010 01:08 AM
i want to extract a specific file from tar zipped backup what is the commande that i must use ?
the above commande give no results
cat backup.tar.gz|gunzip|tar -xvf- specific_file
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2010 02:28 AM
тАО08-05-2010 02:28 AM
Re: extract specific files from backup.tar.gz in HPUX
gunzip < backup.tar.gz |tar -xvf -
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2010 02:39 AM
тАО08-05-2010 02:39 AM
Re: extract specific files from backup.tar.gz in HPUX
Note that file must match the name when it was stored. You may need -tvf to get the right name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2010 05:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2010 09:02 AM
тАО08-05-2010 09:02 AM
Re: extract specific files from backup.tar.gz in HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2010 10:33 PM
тАО08-05-2010 10:33 PM
Re: extract specific files from backup.tar.gz in HPUX
The following example would help.
#tar -tvf test.tar
rwxrwxrwx 0/3 0 Aug 3 10:26 2010 test/
rw-rw-rw- 0/3 0 Aug 3 10:26 2010 test/cac
rw-rw-rw- 0/3 0 Aug 3 09:50 2010 test/a1
rw-rw-rw- 0/3 0 Aug 3 09:50 2010 test/a2
To extract get cac file
#tar -xvf test.tar test/cac
x test/cac, 0 bytes, 0 tape blocks
HTH
Muru