Veritas-bu

Re: [Veritas-bu] exclude_list - exclude core file but not core directory

2011-08-29 09:55:26
Subject: Re: [Veritas-bu] exclude_list - exclude core file but not core directory
From: David Rock <david AT graniteweb DOT com>
To: veritas-bu AT mailman.eng.auburn DOT edu
Date: Mon, 29 Aug 2011 08:55:18 -0500
* Anurag Sharma <sharma.anurag AT hotmail DOT com> [2011-08-29 10:27]:
> 
> Dave,
>  
> To exclude all files with a given name, regardless of their directory
> path, just enter the name without a preceding slash. For example:
> "example" rather than "/example" 
>  
> Here is an example *exclude_list* 
> -----------------------------------------------
>  
# this is a comment line 
/tmp/example/dir/all 
/tmp/example/dir2only/
/usr/home/*/all_tmp 
/*/all_temp 
core

The issue that I'm having is not that I need to find all instances of
core regardless of path, but rather that the exclude_list is picking up
both files AND directories named core.  What I'm trying to do is exclude
all instances of core _files_ but still back up all instances of core
_directories_.

-- 
David Rock
david AT graniteweb DOT com
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu