Re: [Bacula-users] Windows Fileset issue?
2008-05-30 01:00:40
As with the RegexFile = "*\.lnk" not working...
try RegexFile = ".*\.lnk"
----- Original Message -----
From: "Robin Bonin" <rbonin AT gmail DOT com>
To: <bacula-users AT lists.sourceforge DOT net>
Sent: Friday, May 30, 2008 12:27 AM
Subject: Re: [Bacula-users] Windows Fileset issue?
> This is killing me ;)
>
> this works, I do not understand why fully yet, I will understand it soon..
>
> FileSet {
> Name = "StandardWindowsFileSet"
> Include {
> Options {
> WildDir = "C:/Documents and Settings/*/Start Menu"
> Wild = "C:/Documents and Settings/*/Start Menu/*"
> RegExDir = "C:/Documents and Settings/[^/]+$"
> }
> Options {
> Wild = "C:/Documents and Settings/*"
> exclude = yes
> }
> File = "C:/Documents and Settings"
> }
> }
>
> my problem now, the exclude does not work.
> I added in
>
> Exclude {
> File = *.pst
> File = *.lnk
> File = *.mp3
> File = *.wma
> File = *.tmp
> }
>
> after the include, and those file types are still added. I also tried
> adding RegexFile = "*\.lnk" in the options exclude = yes area, and
> that did not work.
> I have no idea what [^/]+$ does. ^ usually means the beginning of a
> line, ['] defines a character set, and $ is the end of the line. I'm
> not looking for a RegEx leason, but maybe a link to something that
> explains that specific syntax, or RegEx Language.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|