- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- exclude a directory using tar command
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
тАО04-30-2001 12:04 AM
тАО04-30-2001 12:04 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2001 12:15 AM
тАО04-30-2001 12:15 AM
Re: exclude a directory using tar command
Tar does not have this functionality. You might want to have a look at fbackup which allows you to include & exclude directory paths.
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2001 12:23 AM
тАО04-30-2001 12:23 AM
Re: exclude a directory using tar command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2001 12:26 AM
тАО04-30-2001 12:26 AM
Re: exclude a directory using tar command
You need to download and install gnu tar (gtar) from HP's software porting centre. It allows you to exclude directories. We use it and it works fine.
http://hpux.connect.org.uk/hppd/hpux/Gnu/tar-1.13.18/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2001 12:27 AM
тАО04-30-2001 12:27 AM
Re: exclude a directory using tar command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2001 12:30 AM
тАО04-30-2001 12:30 AM
Re: exclude a directory using tar command
standard tar cannot cope with this.
You will have to look at other options like other also mentionned : gnu tar, pax, fbackup, cpio, ...
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2001 01:00 AM
тАО04-30-2001 01:00 AM
Re: exclude a directory using tar command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2001 01:01 AM
тАО04-30-2001 01:01 AM
Re: exclude a directory using tar command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2001 02:01 AM
тАО04-30-2001 02:01 AM
Re: exclude a directory using tar command
(customize to your needs)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2001 04:33 AM
тАО04-30-2001 04:33 AM
Solutioncd /dir
list all files and subdirs into a list file
ls -1 > tar_list
edit tar_list and remove directory/files you don't want to backup
vi tar_list
delete undesired entries
make a tar backup
tar cv `cat tar_list`
It's work !
regards Davide