HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tar/gtar - symbolic links
Operating System - HP-UX
1830498
Members
2256
Online
110006
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
05-21-2002 02:52 AM
05-21-2002 02:52 AM
When I performed a gtar on the filesystems with the option :
tar -xvfh filesys1.tar filesys
It produced the following error:
tar:Cannot open h:No such file or directory
The filesystem to be tar-ed is filesys and within filesys, there're sub-filesystems containing links to other filesystems.
I was wondering if tar could actually archive both the file and the links from a particular dir/file ?
Thanks
tar -xvfh filesys1.tar filesys
It produced the following error:
tar:Cannot open h:No such file or directory
The filesystem to be tar-ed is filesys and within filesys, there're sub-filesystems containing links to other filesystems.
I was wondering if tar could actually archive both the file and the links from a particular dir/file ?
Thanks
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 03:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2002 03:28 AM
05-21-2002 03:28 AM
Re: tar/gtar - symbolic links
Hi
as Pete pointed out the f option uses the next option as the name of an archive instead of the default /dev/rmt/0m
using the "h" option allows tar to follow symbolic linksas if they were normal files or directories. tar by default ignores these.
John.
as Pete pointed out the f option uses the next option as the name of an archive instead of the default /dev/rmt/0m
using the "h" option allows tar to follow symbolic linksas if they were normal files or directories. tar by default ignores these.
John.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP