Page 1 of 1

Help with filtering the folders which contain a specific extension

Posted: Mon Sep 18, 2023 4:25 pm
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.

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

Posted: Tue Sep 19, 2023 12:06 pm
by void
Please try the child: search function.

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

child:*.mp3

child:

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

Posted: Tue Sep 19, 2023 12:20 pm
by sk2107
Yes.. that's it.

Many many thanks

Best regards

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

Posted: Mon Mar 25, 2024 6:03 am
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.

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

Posted: Mon Mar 25, 2024 6:06 am
by void
To show folders that do not contain an mp3 file:

folder: !child:*.mp3

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

Posted: Mon Mar 25, 2024 3:31 pm
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

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

Posted: Mon Mar 25, 2024 3:44 pm
by NotNull
That will be much easier to do in Everything 1.5 (compared to version 1.4) :

Code: Select all

folder: !descendant:*.mp3

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

Posted: Mon Mar 25, 2024 3:56 pm
by sk2107
Thank you.

Best Regards