Exclude sub-sub-folders with specific name

Get help for specific problems
Posts: 5
Joined: 26 Apr 2011

donm41

I have a large folder tree of source code, that I want to synchronize
excluding all the debug and release folders. Is there any way to specify this
in the filter dialog?

For example, I want to exclude:
Dir1\debug
Dir1\release
Dir2\SubDir3\debug
Dir2\SubDir3\release
etc.

I don't want to have to manually reference each debug and release directory --
there are too many of them.

Thanks,
User avatar
Site Admin
Posts: 7212
Joined: 9 Dec 2007

Zenju

Using a wildcard should do the job:
Exclude *\debug\ ; *\release\
Posts: 5
Joined: 26 Apr 2011

donm41

Thanks. And this is in the help text for the filter dialog, sorry for asking a
RTFM question.

With some experimenting, I figured out that the filter strings are
(apparently) applied to the entire file path, matching backslash or slash
characters as well as normal characters. For example, the filter string
"bas*xt" will match "basedir\subdir\subdir2\filename.txt". A more useful
example might be "basedir\*\debug", which matches all debug folders (and
files) below basedir. This is great, it's just not obvious from the doc and
help text.

Thanks for a very useful program.