Folders containing image files

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
PeterPanino
Posts: 76
Joined: Sun Feb 21, 2016 10:26 pm

Folders containing image files

Post by PeterPanino »

How to get the 10 folders containing the most image files? (Sorted by the number of image files they contain).
NotNull
Posts: 5107
Joined: Wed May 24, 2017 9:22 pm

Re: Folders containing image files

Post by NotNull »

Using Everything 1.5 :

Code: Select all

child:png;jpg;tiff     add-column:child-occurrence-count:
Sort the results by the child-occurrence-count column.

(add/remove file extensions to the child:png;jpg;tiff list as needed)
PeterPanino
Posts: 76
Joined: Sun Feb 21, 2016 10:26 pm

Re: Folders containing image files

Post by PeterPanino »

Unfortunately, it does not work:

https://app.screencast.com/fe5PuIVIdutGz

My Everything version: Version 1.4.1.1022 (x64)
Windows 10 x64
NotNull
Posts: 5107
Joined: Wed May 24, 2017 9:22 pm

Re: Folders containing image files

Post by NotNull »

You need Everything 1.5 for that. Will not work in 1.4.
PeterPanino
Posts: 76
Joined: Sun Feb 21, 2016 10:26 pm

Re: Folders containing image files

Post by PeterPanino »

1.5 is not listed on the download page. Thanks for your help.
raccoon
Posts: 1010
Joined: Thu Oct 18, 2018 1:24 am

Re: Folders containing image files

Post by raccoon »

The link to Everything 1.5 is @ viewtopic.php?f=12&t=9787 as linked above.

oddly, there's something wrong with this child occurrence count column.

Code: Select all

child:zip:  add-column:child-occurrence-count  sort:child-occurrence-count

Code: Select all

child:ext:7z;ace;arj;bz2;cab;gz;gzip;jar;r00;r01;r02;r03;r04;r05;r06;r07;r08;r09;r10;r11;r12;r13;r14;r15;r16;r17;r18;r19;r20;r21;r22;r23;r24;r25;r26;r27;r28;r29;rar;tar;tgz;z;zip  add-column:child-occurrence-count  sort:child-occurrence-count
I get the same results for both queries, but the folders it returns definitely don't contain anything that matches the Compressed (zip:) filter. How odd. Same for the pic:, video: and other filters or their expanded list of file extensions.
PeterPanino
Posts: 76
Joined: Sun Feb 21, 2016 10:26 pm

Re: Folders containing image files

Post by PeterPanino »

The list of the new features in 1.5 sounds like the fulfillment of all my wishes to Santa Claus.
void
Developer
Posts: 14861
Joined: Fri Oct 16, 2009 11:31 pm

Re: Folders containing image files

Post by void »

child:zip:

will expand to:

child:ext:7z;ace;arj;bz2;cab;gz;gzip;jar;r00;r01;r02;r03;r04;r05;r06;r07;r08;r09;r10;r11;r12;r13;r14;r15;r16;r17;r18;r19;r20;r21;r22;r23;r24;r25;r26;r27;r28;r29;rar;tar;tgz;z;zip

child: doesn't understand an ext: search.

child: will treat the parameter as a semicolon (;) delimited list of filenames.
z is going to be found in a lot of filenames.
The first part ext:7z will be treated as a single filename, which will never match anything.



The next alpha update will add support for ext: to all filename search functions.
(child:zip: will work as intended in the next alpha update)

I've also noticed a lot of other issues with ext:*.mp3 no longer working.



For now, use:
child:*.png;*.jpg;*.tiff add-column:child-occurrence-count:
PeterPanino
Posts: 76
Joined: Sun Feb 21, 2016 10:26 pm

Re: Folders containing image files

Post by PeterPanino »

Thank you for Everything!

When will the next 1.5 update be?
raccoon
Posts: 1010
Joined: Thu Oct 18, 2018 1:24 am

Re: Folders containing image files

Post by raccoon »

Updates to 1.5 occur every 2-4 weeks on average, with no particular schedule. Just whenever @void gets a good crop of work done to his satisfaction.
anmac1789
Posts: 535
Joined: Mon Aug 24, 2020 1:16 pm

Re: Folders containing image files

Post by anmac1789 »

What does void actually do when he's not doing 'everything' haha pun not intended
void
Developer
Posts: 14861
Joined: Fri Oct 16, 2009 11:31 pm

Re: Folders containing image files

Post by void »

Everything 1.5.0.1338a adds ext: support to all search functions that accept filenames.

For example:

child:zip:
child:ext:7z;rar;zip
javanius
Posts: 18
Joined: Sun Mar 20, 2022 11:45 pm

Re: Folders containing image files

Post by javanius »

child:*.pdf add-column:child-occurrence-count:

Based on the example: It would be great to have a column specifying the sum of the size of the pdf files in each folder.

There are 17 pdf files in folder ABC and the total size: 17.765 KB
There are 79 pdf files in folder DEF and the total size: 239.127 KB

Best regards from Türkiye
void
Developer
Posts: 14861
Joined: Fri Oct 16, 2009 11:31 pm

Re: Folders containing image files

Post by void »

I will consider a child-total-size property.

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

Re: Folders containing image files

Post by void »

There is a quirk with child:zip: or child:ext:z7;zip;rar that is worth mentioning:

ext: used with a search function will match files or folders.

Use child-file:zip: or child-file:ext:z7;zip;rar to match files only.
Post Reply