#1 : 30/05-19 13:38
If the subfolder contains the word "obsolete", then I do not want to copy the contents of the folder to the output directory.
If this isn't possible, then I need to exclude copying based on file name criteria. I do not want to copy files containing the word "obsolete".
Is there a way to do this?
#2 : 30/05-19 14:56
I don't think that you can filter files based on folder names when adding directories, but you can use your second option.
Add your root directory and select "Include subfolders"
Regular expression match: "obsolete" (without quotes)
Select "Not matching"
This will add all files with names not containing the word "obsolete", in lower case only.
To make the match case-insensitive add the "?i" flag
ie Regular expression match: "(?i)obsolete"