Hi!
I'm trying to create fileset where I get back every director, and file what its contains where tha path include the string "outlook". The folder with the files can be in any depth with any caracter pre and post of the string "outlook".
I've tried to utilize these 2 examples from the documentation:
FileSet {
Name = "Full Set"
Include {
Options {
wildfile = "*.Z"
wildfile = "*.gz"
}
Options {
Exclude = yes
RegexFile = ".*"
}
File = /myfile
}
}
AND
FileSet {
Name = "AllPictures"
Include {
File = "C:/Documents and Settings"
Options {
signature = SHA1
verify = s1
IgnoreCase = yes
# Include all users' directories so we reach the inner ones. Unlike a
# WildDir pattern ending in *, this RegExDir only matches the top-level
# directories and not any inner ones.
RegExDir = "^C:/Documents and Settings/[^/]+$"
# Ditto all users' My Documents directories.
WildDir = "C:/Documents and Settings/*/My Documents"
# Ditto all users' My Documents/My Pictures directories.
WildDir = "C:/Documents and Settings/*/My Documents/My Pictures"
# Include the contents of the My Documents/My Pictures directories and
# any subdirectories.
Wild = "C:/Documents and Settings/*/My Documents/My Pictures/*"
}
Options {
Exclude = yes
IgnoreCase = yes
# Exclude everything else, in particular any files at the top level and
# any other directories or files in the users' directories.
Wild = "C:/Documents and Settings/*"
}
}
}
Sadly I had partial success, the files and folders are backed up correctly, but all other directory backed up empty as well, and i don't need those (specially, because I want to use the root directory [C:, D:, /, etc.] as start point of this search)
I've tried to use regex exclude, something like this:
^([^o]|(o[^u])|(ou[^t])|(out[^l])|(outl[^o])|(outlo[^o])|(outloo[^k]))*($|(o($|(u($|t($|l($|k$)))))))
but this way it is case sensitive, and the (?-i) flag not working in POSIX flavored REGEX.
(sadly I cannot use the (?!{someRegexHere}) expression, because thats also not supported on POSIX)
Can somebody point me into the right direction.
Thanks very much.
Br, Mate