Hi all, In a FileSet I want bacula to exclude all directories containing file named ".bacula_no_backup".
I managed this by defining this fileset: FileSet { Name = "lisa FileSet" Include { Options { signature = MD5 noatime = yes aclsupport = yes } File = /srv File = /home } Exclude { File = "\\|sh -c 'for D in /srv /home; do find $D -xdev -name .bacula_no_backup -type f -printf \"%h\\n\"; done | tee /root/bacula_excluded_dirs'" } } Now I wonder: Is there a smarter solutions to achieve the same? Anything that would avoid the use of an external program? Perhaps some regex magic? -Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users