- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to 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
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
тАО10-23-2001 09:06 AM - last edited on тАО01-26-2014 07:11 PM by Maiko-I
тАО10-23-2001 09:06 AM - last edited on тАО01-26-2014 07:11 PM by Maiko-I
Hello guys, how do I tar up a file on a dds3 tape but use the relative path so it doesn't pick up the entire directory path where the file currently resides. Any help will be greatly appreciated.
P.S. This thread has been moved from Storage > General to HP-UX > sysadmin. - Hp Forum Moderator
Solved! Go to Solution.
- Tags:
- tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2001 11:16 PM
тАО10-23-2001 11:16 PM
SolutionTo do a tar of a directory or file and
remove the abolsute path name you simply
do cd to the directory and then
'tar cvf /dev/rmt/0m ./mydir'
If you wish to place the files of all
directories with no directory structure
at all on the tape, sorry you cannot do
this with tar, but you could use 'fbackup'
and if you wished to recover using'frecover'
the -F option.
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2001 03:07 AM
тАО10-24-2001 03:07 AM
Re: how to tar
to verify
(for tar you don't need to specify the dev file above for the tape 0m.. it's the default)
ioscan -fnkCtape
to check the device files.
Did you read the tar man page?
man tar
You'll have an example there of what you want to do.
Later,
Bill