On 1/10/2011 10:03 AM, Guy wrote: > 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".
> 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 :) I think you will find that the directory containing .svn is also excluded from backup. -- Dan Langille - http://langille.org/ ------------------------------------------------------------------------------ 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users