[help] search for folders with most "count" of text files ??

Discussion related to "Everything" 1.5 Alpha.
Post Reply
asamirid
Posts: 126
Joined: Sat Oct 13, 2018 12:28 pm

[help] search for folders with most "count" of text files ??

Post by asamirid »

hello everyone here 👋🏼👋🏼..

i want to search for folders with most "specific file type" count, say for example "text files" ..

my needs here is to find the folders that have the greatest number of text files ..

p.s. iam searching for files count not files size.

i searched the forum here for solution, but with no luck ..

is this possible?? and how can i achieve that ..

thank you ..
void
Developer
Posts: 15663
Joined: Fri Oct 16, 2009 11:31 pm

Re: [help] search for folders with most "count" of text files ??

Post by void »

Please try the following with Everything 1.5:
  • In Everything 1.5, type in the following search:
    ext:txt
  • From the File menu, click Export....
  • Change Save as type to: EFU Everything File List
  • Choose a filename and click Save.
  • From the File menu, click Open File List....
  • Select your file list you saved above and click Open.
  • Search for the following:
    folder: addcolumn:childfilecount sort:childfilecount
  • When you are finished with the results, please close your file list from File -> Close File List.
asamirid
Posts: 126
Joined: Sat Oct 13, 2018 12:28 pm

Re: [help] search for folders with most "count" of text files ??

Post by asamirid »

void wrote: Tue Dec 06, 2022 7:10 am Please try the following with Everything 1.5:
  • In Everything 1.5, type in the following search:
    ext:txt
  • From the File menu, click Export....
  • Change Save as type to: EFU Everything File List
  • Choose a filename and click Save.
  • From the File menu, click Open File List....
  • Select your file list you saved above and click Open.
  • Search for the following:
    folder: addcolumn:childfilecount sort:childfilecount
  • When you are finished with the results, please close your file list from File -> Close File List.

thanx void, i will try that ..

question, can i preform this search without creating "EFU Everything File List" just by combining the two search strings ??
as i will frequently do this search with different file types ??

code example..
ext:txt folder: addcolumn:childfilecount sort:childfilecount

or
*.txt folder: addcolumn:childfilecount sort:childfilecount
asamirid
Posts: 126
Joined: Sat Oct 13, 2018 12:28 pm

Re: [help] search for folders with most "count" of text files ??

Post by asamirid »

maybe adding something like that in the future builds will help ..

a feature that means preform whats inside the [ ] as a sub-search to the main "current" search results
ext:txt [folder: addcolumn:childfilecount sort:childfilecount]


it's like search within results 👀..
void
Developer
Posts: 15663
Joined: Fri Oct 16, 2009 11:31 pm

Re: [help] search for folders with most "count" of text files ??

Post by void »

question, can i preform this search without creating "EFU Everything File List" just by combining the two search strings ??
as i will frequently do this search with different file types ??
Currently, no.


a feature that means preform whats inside the [ ] as a sub-search to the main "current" search results
I will consider a feature to perform this search without using file lists.

Thank you for the suggestion.
void
Developer
Posts: 15663
Joined: Fri Oct 16, 2009 11:31 pm

Re: [help] search for folders with most "count" of text files ??

Post by void »

Everything 1.5.0.1331a adds a Child Occurrence Count property.

With this version or later, please try the following search:

childfile:*.txt addcolumn:child-occurrence-count sort:child-occurrence-count

Use child: to specify what file/folder children to search.
Use childfile: to specify file children only.
Use childfolder: to specify folder children only.

Change *.txt to whatever you like.

For example:
childfile:*.jpg
regex:childfile:\.(jpg|png)$

This property is limited to entire index (not the current results)

child-occurrence-count:
void
Developer
Posts: 15663
Joined: Fri Oct 16, 2009 11:31 pm

Re: [help] search for folders with most "count" of text files ??

Post by void »

Everything 1.5.0.1332a will now update child-occurrence-count in real-time.
Post Reply