- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: About the "tar"
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
тАО07-05-2004 05:54 PM
тАО07-05-2004 05:54 PM
About the "tar"
There is a tar file :"ABC.tar@hp" , when I used the command #tar xv ABC.tar@hp , it doesnot work . which option should I use to tar this ABC.tar@hp ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2004 06:48 PM
тАО07-05-2004 06:48 PM
Re: About the "tar"
Is it a tar file. Check that with file command.
And you have to use xvf options to extract the files from archive.
No problem will come because of tar@hp extensions. UNIX will not care about extensions.
use man tar to know the usage.
Regards,
Muthukumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2004 09:21 PM
тАО07-05-2004 09:21 PM
Re: About the "tar"
The correct command to extract files from an archive is as shown below
tar -xvf
The tar file name above could be anything.
Let us know if you have any problems doing it or if you have any questions
regards
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2004 10:09 PM
тАО07-05-2004 10:09 PM
Re: About the "tar"
You can also pax command to Extract files from archive. Use the command as,
# pax -dvi ABC.tar@hp
It will do the same operation of tar -xvf.
Regards,
Muthukumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2004 10:10 PM
тАО07-05-2004 10:10 PM
Re: About the "tar"
It's
# pax -dvf ABC.tar@hp
Regards,
Muthukumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2004 12:09 AM
тАО07-06-2004 12:09 AM
Re: About the "tar"
# file
shows what type of file it is
#tar xvf
extract the file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2004 06:42 PM
тАО07-06-2004 06:42 PM
Re: About the "tar"
$tar -cvf back.tar ABC.tar@hp file2
a ABC.tar@hp 1 blocks
a file2 1 blocks
$tar -xvf back.tar ABC.tar@hp
x ABC.tar@hp, 12 bytes, 1 tape blocks
However following does not work (on account of missing -f)
$ tar -xv back.tar ABC.tar@hp
sks