Unexpected inclusion of sub-directories (Bug?)

Get help for specific problems
Posts: 1
Joined: 25 Nov 2021

MichaelP

I have the following directory structure on the source side (starting below base dir):
\config\df
\config\df\07
\config\df\07\01
\config\df\07\02
...
\config\df\07\20

In these directories there are files named xyz.dfd. I wanted to sync files directly residing in
\config\df\07
\config\df\07\15

so my inclusion says:
\config\df\07\*.dfd
\config\df\07\15\*.dfd

But... FFS considers also the files in sub-directories \config\df\07\01, \config\df\07\02 etc. although the help page states:
Filter description Filter phrase
All *.tmp files located in C:\Source\SubFolder \SubFolder\*.tmp

Ok, I was assuming that not only a direct (level 1) sub-folder would be possible but also setting several levels as I did.

Anyone any suggestions or is this a bug?

Thanks

Michael
User avatar
Posts: 2946
Joined: 22 Aug 2012

Plerry

Your Include Filter rule \config\df\07\*.dfd will include all .dfb-files in \config\df\07\ or any of its subdirectories, as the * wildcard is eager.
Hence, also the .dfb-files in \config\df\07\01\ etc. will be included.
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

That is working exactly as it should. You could have a directory \config\df\07\khjfkwekfjbn\dfwf\*.dfd and it would still be included. You may need to add exclusions