- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tar and include file
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
02-22-2002 08:30 AM
02-22-2002 08:30 AM
/sbin/tar and /usr/bin/tar. I want the tar to read an include file, but tar version on hp-ux doesnt seem to do that? or, is there?? please advise.
also, when I do man, it automatically read the man page on the /sbin/tar, how I do read the man page on /usr/bin/tar?
thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 08:40 AM
02-22-2002 08:40 AM
Re: tar and include file
http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.25/
If you are trying to "exclude files, then you can use this:
find . -print | grep -v -E -f ./excludelist | grep -v "^\.$"| pax -w > /backuppath
pax , by default, writes archives in the ustar extended tar interchange format. (do a man pax)
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 08:43 AM
02-22-2002 08:43 AM
Re: tar and include file
I'm not sure how you have determined that the man page for tar (man -f tar) is specifically for the /sbin/tar command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 11:06 AM
02-22-2002 11:06 AM
SolutionIf you do a file on each tar, you see:
# file /usr/bin/tar /sbin/tar
/usr/bin/tar: PA-RISC1.1 shared executable dynamically linked
/sbin/tar: PA-RISC1.1 shared executable
The dynamically linked means that it is using libraries that are only available when all filesystems are mounted. /sbin/tar is linked differently and does not require these libraries to function. That is why it works in single-user mode.
I, too, would recommend you have a look at GNUTar for the functionality you require.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 11:12 AM
02-22-2002 11:12 AM
Re: tar and include file
Mimosa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2002 11:21 AM
02-22-2002 11:21 AM
Re: tar and include file
by the way, it was very **clear* explaination on the difference between sbin and usr/bin
thank you!!!!!