Search for folders with certain files?
-
- Posts: 2
- Joined: Wed Jun 12, 2019 9:06 pm
Search for folders with certain files?
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
Please let me know if it's possible, thank you
Re: Search for folders with certain files?
Yes, that's possible.
Searching for
child:"Di M"
Searching for
wfn:child:"Di M"
For more information on this (and a lot more .. ), see https://www.voidtools.com/support/everything/searching/
-
- Posts: 2
- Joined: Wed Jun 12, 2019 9:06 pm
Re: Search for folders with certain files?
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?
Re: Search for folders with certain files?
So, you read and understood the whole page I linked in less than 16 minutes? ...
It is possible, but in a different way:
Optional: You can now remove Copy Path to Clipboard from the Everything context menu
EDIT: Suggestion: add a childfile: and childfolder: function.
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.
Re: Search for folders with certain files?
Already added for the next major release.EDIT: Suggestion: add a childfile: and childfolder: function.
Thanks for the suggestion.
Re: Search for folders with certain files?
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.
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.
Re: Search for folders with certain files?
You will need to enable folder sizes:Is it possible to get the size of the folder with a custom search?
- In Everything, from the Tools menu, click Options.
- Click the Indexes tab on the left.
- Check Index folder size.
- Click OK.
To search for a folder with a specific size, use the size: search function. For example, to find folders with a size larger than 10gb, search for:
folder: size:>10gb
The next major version of Everything will have an option to search and display the true folder size without this information being indexed. However, it will be very slow. For now you will need to enable Index folder size.
Re: Search for folders with certain files?
Thanks.
I was already indexing the folder size. The result is for all files indexed though, I should have wrote an example.
Let's say that I have multiples folder with size indexed.
I lookup for log files with `child:"*.log"`.
The result will display all folder that have some log file but the displayed size is the indexed size (with all others files), but what I look for is a display size with the current filter pattern.
If I understand correctly, the next version should do the trick!
I was already indexing the folder size. The result is for all files indexed though, I should have wrote an example.
Let's say that I have multiples folder with size indexed.
I lookup for log files with `child:"*.log"`.
The result will display all folder that have some log file but the displayed size is the indexed size (with all others files), but what I look for is a display size with the current filter pattern.
If I understand correctly, the next version should do the trick!
Re: Search for folders with certain files?
If you are interested in the total accumulated size of all the .log files matching your query, you don't have to wait for a new version:
- Enable the status bar: Menu:View > Status Bar
- Enable Show size in status bar (under Menu:Tools > Options > General > View )
ext:log
Re: Search for folders with certain files?
Thanks.
I'm looking for the detail by folder though. I'll wait patiently the next major version and keep using scripts until then.
I'm looking for the detail by folder though. I'll wait patiently the next major version and keep using scripts until then.
Re: Search for folders with certain files?
Ahh, wasn't clear to me.
In that case:
- Make sure Index folder size is enabled (Menu:Tools > Options > Indexes)
- Query
ext:log
- Export results as EFU file ( Menu:File > Export )
- Press Alt-Home to reset search.
- Open this EFU file (Menu:File > Open File List)
- Query
folder:
- Voilà!
To return to your "regular" Everything:
- Press Alt-Home
I might have misunderstood this too, but I think @void means something different.I'll wait patiently the next major version and keep using scripts until then.
Re: Search for folders with certain files?
That's perfect!
Thanks a bunch NotNull =)
Thanks a bunch NotNull =)
Re: Search for folders with certain files?
You're welcome!
(thanks for reporting back)
(thanks for reporting back)