How to search for nested

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
TheBestPessimist
Posts: 28
Joined: Sat Jan 14, 2023 6:36 pm

How to search for nested

Post by TheBestPessimist »

1. I have the following
- D:\Wallpapers\Artstation\[other folders]
- many/other/nested/folders/artstation1
- many/other/nested/folders/artstation2
...
- many/other/nested/folders/artstation40000
- many2/other/nested/folders/wallpaper artstation00001.jpeg
[...]
- many2/other/nested/folders/wallpaper artstation9999.jpeg

and i want to search for the folder `Artstation` from `Wallpapers`.

What seems to be working is the following query: `wall*\artstation`, because (my understanding here) * matches multiple characters and \ matches a folder.

But this IMO is too much typing, especially because the keys are hard to "construct":
- to type * i need to press with left hand shift with my pinky and with right hand key 8 with middle finger
- to type \ i need to move my right pinky in a weird position

Obviously, if i need to search multiple folders deep, this would be even more cumbersome to type, because the risk for me to make typos is higher as i have to move my hands back and forth from "fj" to "character typing" again and again.


Couldn't I write `wall arts` and that space between the words could act like *, \, space, *\, so that i could find even more stuff which contains the substrings `wall` and `arts` in the full path of a particular file/folder?
Alternatively, if we are not searching for substrings in the full path, couldn't I somehow make it act like "every folder and/or file startswith" and also keep the possibility to search for files/folders which could actually have the name "wall arts[more characters here].jpeg" ?

Basically, in the 2 alternatives above, i'm fine to have a matching either "startswith" or "substring" in the path of a file/folder.


If it counts, i desire this because i'm used to my IDE (IntelliJ Idea) where i can simply type "wallarts" (or "wall arts") and it searches for all possible matches, then sorts them based on "how many of the letters I typed are 'one after the other'".
So for my example above, Intellij would show me the results sorted kinda like this:
- D:\Wallpapers\Artstation\[other folders] <- this is first because the path is the shortest
- many2/other/nested/folders/wallpaper artstation00001.jpeg
[...]
- many2/other/nested/folders/wallpaper artstation9999.jpeg
Last edited by TheBestPessimist on Sat Jan 14, 2023 7:39 pm, edited 1 time in total.
TheBestPessimist
Posts: 28
Joined: Sat Jan 14, 2023 6:36 pm

Re: How to search for nested

Post by TheBestPessimist »

Hello, I answer this question myself: The solution is to enable Search -> Match Path (Ctrl + U)
Post Reply