I gave up the wildcard notation and adopted the “regular expression” …
So just to remember: I want to exclude some of the mbox files. They come “in pairs”: a “.msf” file (the index) and a file with the same name and without extension (the mbox file). And these “pairs” appears in several sub-folders (accounts sub-folders).
I also want to exclude the cache folder: D:\......\Data\profile\cache2\
I configured this filters
file:
(lines starting with # exclude...
were copied from the wiki page)
(lines starting with # ====
are my additions)
# =======================================================================
# =============== COMMOM FILES ===============
# exclude any cache files/directories with cache in the name (case insensitive)
e:(?i).*cache.*$
# ==== SAME ABOVE, FOR OTHER TYPES
e:(?i).*Thumbs.*$
e:(?i).*desktop.ini*$
# exclude temporary file names
e:.*/?~.*$
# exclude common file types (case insensitive)
e:(?i)\.(bak|mp4|mkv|o|obj|old|tmp)$
# ==== DROPBOX TEMP FILES, I'LL "JOIN" WITH THE OTHERS IN THE LINE ABOVE LATER
e:(?i)\.(dropbox)$
#=============== MBOX "UNWANTED" FILES ===============
# remember: "pairs" in several sub-folders...
e:(?i).*Todos os e-mails.*$
e:(?i).*Todos os e-mails$
e:(?i).*All Mail.*$
e:(?i).*All Mail$
e:(?i).*Importante.*$
e:(?i).*Importante$
e:(?i).*Important.*$
e:(?i).*Important$
e:(?i).*Lixeira.*$
e:(?i).*Lixeira$
e:(?i).*Trash.*$
e:(?i).*Trash$
# ==== MBOX CACHE FOLDER AND ALL ITS FILES AND SUB-FOLDERS
e:Data/profile/cache2/
# include everything else
i:.*
# ==============================================================================