Bacula-users

Re: [Bacula-users] Excluding subversion folders

2011-01-10 10:05:47
Subject: Re: [Bacula-users] Excluding subversion folders
From: Guy <guy AT britewhite DOT net>
To: Christian Manal <moenoel AT informatik.uni-bremen DOT de>
Date: Mon, 10 Jan 2011 15:03:21 +0000
Hi,

The "ExcludeDirContaining" worked!.. the .svn is a dir.  It seems the 
documentation implies that it's a filename-string but works when it's a DIR too 
:)

Thanks
---Guy

On 10 Jan 2011, at 14:42, Christian Manal wrote:

> Am 10.01.2011 15:04, schrieb Guy:
>> Hi all,
>> 
>> I would like to exclude any folder on a client that is under subversion.  
>> All Directories which are maintained by subversion have a ".svn" directory 
>> structure under them.
>> 
>> Can any clever people create a FileSet exclude which will skip any directory 
>> which contains a .svn folder?
>> 
>> Cheers,
>> ---Guy
> 
> 
> Hi,
> 
> there is a fileset option called "ExcludeDirContaining" (look at the
> docs for more info), which basically excludes all directories and their
> children that contain a certain file. I don't know if that also works
> with directory names, though.
> 
> But if it doesn't, you could alway run something like
> 
>   find / -type d -name .svn -exec touch {}/../.excludeme \;
> 
> as "ClientRunBeforeJob".
> 
> 
> Regards,
> Christian Manal
> 
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of any company
> that requires sensitive data to be transmitted over the Web.   Learn how to 
> best implement a security strategy that keeps consumers' information secure 
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users