Hello all,
I need to search for folders named Source. Of course, in a development environment, there are scads of them. I am currently searching using the following filter: regex:^Source$ folder:, which brings back all of the Source folders scattered over many network drives and paths. I can narrow the result set further by adding drives to the filter: regex:^Source$ folder: g:|j:|m:, using drives which I have previously mapped.
But I don't necessarily know which drives contain the Source folders I need. What I need to be able to do is to filter the paths returned in the Path pane of the result set for partial parent folder names (e.g. *MyName* or *MyCompanyName*). When I try to add them to my first filter above, it then returns an empty set. Thanks in advance for any ideas and/or suggestions.
How to limit folders while searching for a specific folder
-
- Posts: 42
- Joined: Wed Feb 05, 2020 12:37 pm
Re: How to limit folders while searching for a specific folder
Try something like Set Match path when a search term contains a path separator at Tools->Options->Search
Code: Select all
folder:regex:.*("MyName|MyCompanyName").*\\source