Help needed: Search for files with specs on file and folder name

General discussion related to "Everything".
Post Reply
gn4711
Posts: 4
Joined: Mon Oct 17, 2022 8:11 am

Help needed: Search for files with specs on file and folder name

Post by gn4711 »

Hi,
im not able to work out "how it works".
Im need to find files in a folder structure.
Inside the folder structure, im looking for files starting with bbb and has extension ccc
Any parent folder "in the structure" must start with aaa

"folder\structure" file:bbb*.ccc \aaa

is not working. Any1 with a simple solution? thx in advance....
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Help needed: Search for files with specs on file and folder name

Post by void »

Does the following search find your files:

\aaa file:bbb*.ccc



Please make sure "Match path when a search term contains a path separator" under Tools -> Options -> Search.

Please make sure regex is unchecked under the Search menu.
gn4711
Posts: 4
Joined: Mon Oct 17, 2022 8:11 am

Re: Help needed: Search for files with specs on file and folder name

Post by gn4711 »

No, is not working. it is working unless i enter *. from here the list is empty and any results are "gone".
I have the feeling "*" is not working.

\aaa => and folder starting with aaa
\aaa* => empty list

\aaa file:bbb => many files
\aaa file:bbb* => empty list

Option is set.
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Help needed: Search for files with specs on file and folder name

Post by void »

Any other options set under the Search menu?

* will force Everything to match the whole filename.
(this can be disabled from Tools -> Options -> Search -> Match whole filename when using wildcards)

If you have Match Path enabled, please try searching for:

**\aaa**\bbb*.ccc

-or-

\aaa nopath:startwith:bbb .ccc



-or-

Disable Match Path under the Search menu and search for:

\aaa file:bbb*.ccc
gn4711
Posts: 4
Joined: Mon Oct 17, 2022 8:11 am

Re: Help needed: Search for files with specs on file and folder name

Post by gn4711 »

Gotcha:

"folder\structure" \aaa bbb*.ccc

is working for me "intuitively"
with:

- match path (enabled)
- match whole filename (disabled)

thx for helping.
gn4711
Posts: 4
Joined: Mon Oct 17, 2022 8:11 am

Re: Help needed: Search for files with specs on file and folder name

Post by gn4711 »

Ok. Final question:

is there a function for searching path without filename?

reason

"folder\structure" \aaa bbb*.ccc

is returning not "AND" results if aaa and bbb has the same "value"...
because \aaa matches files and folders, but im only looking for folders starting with aaa and also files starting with aaa (this is tricky, because \aaa is matching folder or file)
void
Developer
Posts: 16753
Joined: Fri Oct 16, 2009 11:31 pm

Re: Help needed: Search for files with specs on file and folder name

Post by void »

With Everything 1.4, no.

Please try the following search:

"folder\structure" **\aaa**\bbb*.ccc



For Everything 1.5, please try:

"folder\structure" pathpart:\aaa bbb*.ccc

pathpart:
Post Reply