# Highlighting folders that contain a file group file

**URL:** <https://resource.dopus.com/t/highlighting-folders-that-contain-a-file-group-file/41783>\
**Category:** Help & Support\
**Created:** [July 23, 2022, 3:53pm UTC](https://resource.dopus.com/t/highlighting-folders-that-contain-a-file-group-file/41783 "2022-07-23T15:53:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![galaxyhub](https://resource.dopus.com/user_avatar/resource.dopus.com/galaxyhub/32/42793_2.png) [@galaxyhub](https://resource.dopus.com/u/galaxyhub)\
**Post date:** [July 23, 2022, 3:53pm UTC](https://resource.dopus.com/t/highlighting-folders-that-contain-a-file-group-file/41783/1 "2022-07-23T15:53:38Z")

</div>

Is there any way of filtering a folder that contains a Movie file (from the group Movies) ?  
The following does not work :

 ![image](https://resource.dopus.com/uploads/default/original/3X/0/a/0a2dd3dfcadd1a25fcd3beb7984daa007c9afd49.png)

---

<div class="post-metadata">

**Author:** ![lxp](https://resource.dopus.com/user_avatar/resource.dopus.com/lxp/32/33734_2.png) [@lxp](https://resource.dopus.com/u/lxp)\
**Post date:** [July 23, 2022, 4:47pm UTC](https://resource.dopus.com/t/highlighting-folders-that-contain-a-file-group-file/41783/2 "2022-07-23T16:47:52Z")

</div>

You need a custom column that searches folders for movie files, similar to this one:

> [@Find folders that do not have a specific file?](https://resource.dopus.com/t/find-folders-that-do-not-have-a-specific-file/28558):
>
> I would like to find all folders that DO NOT have a specific file. I tried some things, but gave up.

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [July 23, 2022, 7:55pm UTC](https://resource.dopus.com/t/highlighting-folders-that-contain-a-file-group-file/41783/3 "2022-07-23T19:55:47Z")

</div>

> [@galaxyhub](#):
>
> The following does not work :

**Contains** is for searching inside _files_ not folders:

 ![2022-07-23 21-53-44 Clipboard Image](https://resource.dopus.com/uploads/default/original/3X/c/6/c690618ef64154adc5ce0e28ebb03d0002227ed4.png)

Lxp's approach is the best one (at least currently).

---

<div class="post-metadata">

**Author:** ![galaxyhub](https://resource.dopus.com/user_avatar/resource.dopus.com/galaxyhub/32/42793_2.png) [@galaxyhub](https://resource.dopus.com/u/galaxyhub)\
**Post date:** [July 23, 2022, 8:25pm UTC](https://resource.dopus.com/t/highlighting-folders-that-contain-a-file-group-file/41783/4 "2022-07-23T20:25:20Z")

</div>

Many thanks for response, am using modified version of @Leo HasJpeg script, using `grp:Movies` instead, works great as a filter.

> [@Find folders that do not have a specific file?](https://resource.dopus.com/t/find-folders-that-do-not-have-a-specific-file/28558/12):
>
