only return top folder results

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
benblo
Posts: 3
Joined: Fri Jun 14, 2013 9:42 am

only return top folder results

Post by benblo »

I'd like to find folders containing "word", but ignore matches inside subfolders of an already-matched ancestor.
The "top" folders aren't necessarily root ones, it's just that once I found one, I don't care about its subfolders anymore.
So eg:

Code: Select all

C:\foo\word                    <-- I only want to see this one...
C:\foo\word\bar\also-word      <-- ... not this one as it's contained in an already-found result
Is there such a syntax? I tried various combinations of
nosubfolders:
but I'm not sure I understand what it's for.

This is actually a super-common usecase for me, getting way too many results although I already got the parent, I'm done.
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: only return top folder results

Post by void »

easiest way:

Code: Select all

word !**word**\*
Everything 1.5:

Code: Select all

word !path-part:word
benblo
Posts: 3
Joined: Fri Jun 14, 2013 9:42 am

Re: only return top folder results

Post by benblo »

Awesome! thanks :)
Post Reply