Help with filtering the folders which contain a specific extension

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
sk2107
Posts: 325
Joined: Sun Aug 07, 2022 8:48 pm

Help with filtering the folders which contain a specific extension

Post by sk2107 »

Hello,

I want help for creating filter that displays all folder (with folder:) which contain a specific extension, that folder could contain files with other extensions.

In other words the filter will not display the folders which do not have any files with that specific extension.

Thank you.
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: Help with filtering the folders which contain a specific extension

Post by void »

Please try the child: search function.

For example, to find folders that contain a .mp3 file:

child:*.mp3

child:
sk2107
Posts: 325
Joined: Sun Aug 07, 2022 8:48 pm

Re: Help with filtering the folders which contain a specific extension

Post by sk2107 »

Yes.. that's it.

Many many thanks

Best regards
sk2107
Posts: 325
Joined: Sun Aug 07, 2022 8:48 pm

Re: Help with filtering the folders which contain a specific extension

Post by sk2107 »

Hello,
Sorry for reopening an old post, but I need something related.

I want the opposite case of the question; is to list all folders THAT DO NOT contain files relates to the given extension.

Thank you.
void
Developer
Posts: 16748
Joined: Fri Oct 16, 2009 11:31 pm

Re: Help with filtering the folders which contain a specific extension

Post by void »

To show folders that do not contain an mp3 file:

folder: !child:*.mp3
sk2107
Posts: 325
Joined: Sun Aug 07, 2022 8:48 pm

Re: Help with filtering the folders which contain a specific extension

Post by sk2107 »

Thank you.
Is it possible to find if the folder and its subfolders (folder tree) does not have that type of files?

Best Regards
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Help with filtering the folders which contain a specific extension

Post by NotNull »

That will be much easier to do in Everything 1.5 (compared to version 1.4) :

Code: Select all

folder: !descendant:*.mp3
sk2107
Posts: 325
Joined: Sun Aug 07, 2022 8:48 pm

Re: Help with filtering the folders which contain a specific extension

Post by sk2107 »

Thank you.

Best Regards
Post Reply