Search for folders with certain files?

General discussion related to "Everything".
Post Reply
ForeverFaithless
Posts: 2
Joined: Wed Jun 12, 2019 9:06 pm

Search for folders with certain files?

Post by ForeverFaithless » Wed Jun 12, 2019 9:08 pm

I'd like to retrieve a list of folders with a certain file called "Di M"

Please let me know if it's possible, thank you :)

NotNull
Posts: 1254
Joined: Wed May 24, 2017 9:22 pm

Re: Search for folders with certain files?

Post by NotNull » Wed Jun 12, 2019 10:32 pm

ForeverFaithless wrote:
Wed Jun 12, 2019 9:08 pm
Please let me know if it's possible, thank you :)
Yes, that's possible.
Searching for
child:"Di M"
will give you all folders that contain one or more files/folders with "Di M" in their name.
Searching for
wfn:child:"Di M"
will give you all folders that contain a file/folder that is called *exactly* "Di M".


For more information on this (and a lot more .. ), see https://www.voidtools.com/support/everything/searching/

ForeverFaithless
Posts: 2
Joined: Wed Jun 12, 2019 9:06 pm

Re: Search for folders with certain files?

Post by ForeverFaithless » Wed Jun 12, 2019 10:48 pm

It's giving me a list of folders with subfolders called "DI M", is there a way to include a list of folders with files (and not folders) called "DI M" only?

NotNull
Posts: 1254
Joined: Wed May 24, 2017 9:22 pm

Re: Search for folders with certain files?

Post by NotNull » Thu Jun 13, 2019 1:32 pm

So, you read and understood the whole page I linked in less than 16 minutes? ...


It is possible, but in a different way:
  • Go to Menu:Tools > Options > Context Menu
  • Select item Copy Path to Clipboard
  • Enable Show this item
  • Click OK
  • Search for
    file: wfn:"Di M"
  • Select all results from the result list
  • Righ-click > Copy Path to Clipboard
  • Paste results in Notepad (or similar)
  • Done

Optional: You can now remove Copy Path to Clipboard from the Everything context menu


EDIT: Suggestion: add a childfile: and childfolder: function.

void
Site Admin
Posts: 4729
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search for folders with certain files?

Post by void » Fri Jun 14, 2019 8:32 am

EDIT: Suggestion: add a childfile: and childfolder: function.
Already added for the next major release.
Thanks for the suggestion.

NotNull
Posts: 1254
Joined: Wed May 24, 2017 9:22 pm

Re: Search for folders with certain files?

Post by NotNull » Fri Jun 14, 2019 1:04 pm

void wrote:
Fri Jun 14, 2019 8:32 am
Already added for the next major release.
:thumbsup: :)

whinette
Posts: 1
Joined: Thu Aug 04, 2016 4:51 pm

Re: Search for folders with certain files?

Post by whinette » Mon Jun 24, 2019 6:04 pm

Is it possible to get the size of the folder with a custom search?
For example, I'd like to get all the folder that contains a certain pattern and then have the size for this current pattern only. I am aware that it can result to slow search if size isn't indexed.

Post Reply