Re: [Bacula-users] Windows Fileset issue?
2008-05-29 17:27:39
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
|
|
|