NOT for Path

Have a suggestion for "Everything"? Please post it here.
Post Reply
xpclient
Posts: 9
Joined: Fri Sep 20, 2013 5:10 am

NOT for Path

Post by xpclient »

Firstly thank you David Carpenter for creating Everything. It is an invaluable and excellent tool. 🙏🏽

I have a feature request/suggestion.

I see that Everything has simple ! operator for NOT to exclude something from results which is excellent. Can you add please an operator for NOT IN PATH? For example, let's suppose this operator is ~

Then for a search that has this syntax:

* ext:mp3

Suppose it is showing various results with same filename but from different folders (Track 01.mp3 from C:\Recordings 2019, and other files exactly named Track01.mp3 from C:\Recordings 2020\, C:\Recordings 2021\, C:\Recordings 2022\ C:\Recordings 2023\, then with ^ operator, we will be able to do such filtering:

* ext:mp3 ~2019 ~2022

to return Track 01 only from 2020 and 2021, 2023 recordings folders excluding 2019 and 2022. Can it filter/exclude words from path like this in a future version? It will be incredibly useful to filter out temporarily huge number of rules from entire paths instead of individually specifying paths and using AND/OR.

Sorry in advance if asked for something already possible via a different operator or in a different way, in which case guide me how I filter like how I requested.
therube
Posts: 4610
Joined: Thu Sep 03, 2009 6:48 pm

Re: NOT for Path

Post by therube »

ext:mp3 !path:2022

Or, if you had, Search | Match Path enabled (doesn't everyone ;-))
ext:mp3 !2022



Note that !2022 simply says "do not match if the string "2022" is found.
So that means that it would not find "eurovision 2022.mp3" (or "2022 eurovision.mp3).

So you may have to finagle things;
ext:mp3 !2022/
or
ext:mp3 !/2022/
or ...
xpclient
Posts: 9
Joined: Fri Sep 20, 2013 5:10 am

Re: NOT for Path

Post by xpclient »

Oh so simple! I am a moron :D Got it how to use it.
Thy Grand Voidinesss
Posts: 606
Joined: Wed Jun 01, 2022 5:01 pm

Re: NOT for Path

Post by Thy Grand Voidinesss »

Some more info / suggestions that might be of usage for you:
viewtopic.php?p=56257
Last edited by Thy Grand Voidinesss on Wed May 17, 2023 10:09 am, edited 1 time in total.
xpclient
Posts: 9
Joined: Fri Sep 20, 2013 5:10 am

Re: NOT for Path

Post by xpclient »

Great! I'll remember usage of the semicolon and that ! works to exclude anything.
Post Reply