Re: [Bacula-users] Excluding subversion folders
2011-01-10 09:45:35
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
|
|
|