Searching for files only in folders containing phrase.

General discussion related to "Everything".
Post Reply
chalger
Posts: 2
Joined: Wed Sep 27, 2023 9:44 am

Searching for files only in folders containing phrase.

Post by chalger »

Hello everyone!

How do I search for files only in folders containing phrase.
For example search for file names containing dogs in all folders that name contains animal.

Say I have folders C:\Animals\1. Small animals and D:\Projects\Large animals etc.
How do i find files that name containing phrase dog if I only remeber that the folder name contains the phrase animals.

I know I can search like: dog /"1. Small animals" but how do I wildcard searching for dog in all folders containing the word animals.
*/"animals" or "/*animals" doesn't work.

Thank you for any help
chalger
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: Searching for files only in folders containing phrase.

Post by void »

Please try the path: search modifier:

dog path:animal

This will match animal anywhere in the full path and name.



Using a wildcard will force Everything to match the whole filename.

Please try the following wildcard search:

*animal*\* dog

-or-

Disable Tools -> Options -> Search -> Match whole filename when using wildcards and search for:

animal*\ dog
chalger
Posts: 2
Joined: Wed Sep 27, 2023 9:44 am

Re: Searching for files only in folders containing phrase.

Post by chalger »

Nice one!
Thank you.
Post Reply