list files ONLY in a fuzzy match folder?

General discussion related to "Everything".
Post Reply
Skrell
Posts: 11
Joined: Wed Jun 19, 2013 1:19 am

list files ONLY in a fuzzy match folder?

Post by Skrell »

So I've been trying to come up with a filter to do this for awhile but basically I'd like to simply type the name in of a folder (WITHOUT entering the entire path) and have just the files in ONLY that folder be listed.

Is this possible?
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: list files ONLY in a fuzzy match folder?

Post by NotNull »

Try this to find files (no folders) directly located unde a folder with name Windows:

Code: Select all

file: regex:^.*\\windows\\[^\\]*$
If you mean by filter: the ones located under Menu:Search > organize Filters .. , you could do that as follows:

Code: Select all

Name   = FilesInFolder
Search = file: regex:^.*\\shortfolder:\\[^\\]*$
Macro  = abc<shortfolder>
All checkboxes should be unchecked.
Replace "abc" with a name of your choice, but avoid existing ones.

Now you can do queries like:

Code: Select all

abc:windows
abc:"program files"
IIRC, "abc" is case sensitive (not tested)
Skrell
Posts: 11
Joined: Wed Jun 19, 2013 1:19 am

Re: list files ONLY in a fuzzy match folder?

Post by Skrell »

WOW thank you SO much!
Quick question: It appears as if i can't put any space after i type abc:"search"
So basically i can't write abc: "search"
Is there a way to fix this?
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: list files ONLY in a fuzzy match folder?

Post by NotNull »

You're welcome :)
Quick question: It appears as if i can't put any space after i type abc:"search"
So basically i can't write abc: "search"
Is there a way to fix this?
That's how things work. A " " (space) means AND in Everything.
Let's say you have a query= size:100. This will seach for all files with size 100 bytes.
Now query size: 100. That will search for all files that have a size (that's all files ...) AND have 100 in their name. Totally different result.

If you query abc: "search", it will report all files/folders that meet abc: (that's zero files) AND have search in their name.
Overall result will be 0 files.
Skrell
Posts: 11
Joined: Wed Jun 19, 2013 1:19 am

Re: list files ONLY in a fuzzy match folder?

Post by Skrell »

Thank you again! Love this program!
Post Reply