On Fri, Jul 14, 2006 at 04:41:37PM +0700, Olivier Nicole wrote:
> > I want to know what the exclude list should look like to make sure I exclude
> > all files with these extensions in any directory/subdirectory contained
> > under the disklist entries:
> > .ora 
> > .dbf 
> > .dmp 
> > .dmp.gz.xx
> 
> It seems that the safest way is:
> 
> *.ora
> *.dbf
> *.dmp
> *.dmp.gz.*
> 
> without the initial ./
> 

And to confirm it will work, put your test patterns in a file,
say "exclude-pats".  Then cd to the directory of your DLE.  Run
something like:

tar -cvf /dev/null --exclude-from <exclude-pats> 2>&1 | egrep 'ora|dbf|dmp'

There should be nothing in the output that matches your list.
Might be something like oracle.txt, but that shouldn't be excluded.

-- 
Jon H. LaBadie                  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

Reply via email to