search specific files with some pattern under some folder?

General discussion related to "Everything".
Post Reply
cjunekim
Posts: 2
Joined: Fri Feb 02, 2018 4:47 pm

search specific files with some pattern under some folder?

Post by cjunekim »

Hello

I am trying to search all files with the extension of txt(readme.txt for example) under the folder names which include blue.

So,

bluemoon\hello.txt
blue ocean\list.txt

and so on.

Additonally, it would be more useful if I could search all the descendants(children, and children of children and so on):

bluemoon\blahblah\hello.txt
blue ocean\foobar\list.txt

Is there a simple way to search them?
void
Developer
Posts: 16733
Joined: Fri Oct 16, 2009 11:31 pm

Re: search specific files with some pattern under some folder?

Post by void »

Please try the following search:

*blue*\**.txt
cjunekim
Posts: 2
Joined: Fri Feb 02, 2018 4:47 pm

Re: search specific files with some pattern under some folder?

Post by cjunekim »

void wrote: Sun Oct 02, 2022 8:10 am Please try the following search:

*blue*\**.txt
Thanks but why two asterisks before the extension?
void
Developer
Posts: 16733
Joined: Fri Oct 16, 2009 11:31 pm

Re: search specific files with some pattern under some folder?

Post by void »

* = match any character (except \) any number of times
** = match any character any number of times


For Everything 1.4, * is the same as **

With Everything 1.5+, * will only match txt files directly in a folder containing blue


Also the following search on Everything 1.5 might be helpful:

parentname:blue .txt
Post Reply