On Friday 25 November 2005 14:09, Julien Cigar wrote:
> Kern Sibbald wrote:
> >On Friday 25 November 2005 13:40, Julien Cigar wrote:
> >>Hello,
> >>
> >>Small question, is there a difference between :
> >>
> >>Exclude {
> >>  File = *.mp3
> >>}
> >>
> >>and :
> >>
> >>Include {
> >>  Options {
> >>    Exclude = yes
> >>  }
> >>  wildfile = "*.mp3"
> >>}
> >>
> >>If there is no difference, why it the usefullness of Exclude {} ?
> >
> >As for nearly everything in life, there is more than one way to do it.
> >
> >Exclude {} is simpler but more limited.
>
> Thanks for answer... one last question : can I put the WildDir /
> WildFile directives in a file to use with @/foo/bar/myfile in an Include
> { } ressource ? 

Yes :-)

> Something like: 
> Include {
>     Options {
>         IgnoreCase = yes
>         Exclude = yes
>     }
>     @/foo/bar/myfile
> }
>
> /foo/bar/@myfile :
>
> WildFile = "*.mp3"
> WildFile = "*.mpc"
> WildFile = "*.ogg"
> WildFile = "*.wav"
> WildFile = "*.bak"
> WildFile = "*.tmp"
> WildFile = "*.pyc"
>
> In the documentation only File= is mentionned : "Any name preceded by an
> at-sign (@) is assumed to be the name of a file, which contains a list
> of files each preceded by a "File ="."
>
> Thanks,
> Julien

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to