Go to Add Resource Filter preferences dialog:
Go to Project → Properties → Resource → Resource Filters
Click Add Filter...
Then fill the options:
Filter type:
(•)Exclude all
Applies to:
(•)Folders
[X] All children (recursive)
Filter and Folder Attributes:
Name - Matches - [target]