# .plexignore Required Word

**URL:** <https://forums.plex.tv/t/plexignore-required-word/706999>\
**Category:** General Discussions\
**Created:** [April 4, 2021, 4:13am UTC](https://forums.plex.tv/t/plexignore-required-word/706999 "2021-04-04T04:13:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![wizzardking2](https://avatars.discourse-cdn.com/v4/letter/w/50afbb/32.png) [@wizzardking2](https://forums.plex.tv/u/wizzardking2)\
**Post date:** [April 4, 2021, 4:13am UTC](https://forums.plex.tv/t/plexignore-required-word/706999/1 "2021-04-04T04:13:28Z")

</div>

Hi

Is it somehow possible to add required words to the plexignore file?  
There isn’t much information about the plexignore file and it doesn’t look like it works with normal regex.

Best Regards

---

<div class="post-metadata">

**Author:** ![shark2k](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/shark2k/32/305908_2.png) [@shark2k](https://forums.plex.tv/u/shark2k)\
**Post date:** [April 4, 2021, 4:21am UTC](https://forums.plex.tv/t/plexignore-required-word/706999/2 "2021-04-04T04:21:11Z")

</div>

Have you referred to this article for using the plexignore file?

> **[Special Keyword File/Folder Exclusion | Plex Support](https://support.plex.tv/articles/201381883-special-keyword-file-folder-exclusion/)**
>
> Plex will automatically ignore and exclude certain content: Files that include the word sample in the filename and are less...

-Shark2k

---

<div class="post-metadata">

**Author:** ![wizzardking2](https://avatars.discourse-cdn.com/v4/letter/w/50afbb/32.png) [@wizzardking2](https://forums.plex.tv/u/wizzardking2)\
**Post date:** [April 5, 2021, 12:51pm UTC](https://forums.plex.tv/t/plexignore-required-word/706999/3 "2021-04-05T12:51:56Z")

</div>

Hi @shark2k

Yes, exactly. But in this article I only see a way to **ignore** files if a specific word is inside the path or in the filename. But what I would need is a solution to add a word and it should ignore all files **not** containing this word ( **required** word).

It looks like it doesn’t work with normal regex. Otherwise, I could add a regex like the following to have a double negative which would result in a required word:  
/^((?!german).)\*$/gmi

---

<div class="post-metadata">

**Author:** ![wizzardking2](https://avatars.discourse-cdn.com/v4/letter/w/50afbb/32.png) [@wizzardking2](https://forums.plex.tv/u/wizzardking2)\
**Post date:** [April 11, 2021, 11:19pm UTC](https://forums.plex.tv/t/plexignore-required-word/706999/4 "2021-04-11T23:19:22Z")

</div>

Push…

---

<div class="post-metadata">

**Author:** ![wizzardking2](https://avatars.discourse-cdn.com/v4/letter/w/50afbb/32.png) [@wizzardking2](https://forums.plex.tv/u/wizzardking2)\
**Post date:** [April 16, 2021, 5:53pm UTC](https://forums.plex.tv/t/plexignore-required-word/706999/5 "2021-04-16T17:53:16Z")

</div>

Push…

---

<div class="post-metadata">

**Author:** ![Volts](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@Volts](https://forums.plex.tv/u/Volts)\
**Post date:** [April 16, 2021, 6:12pm UTC](https://forums.plex.tv/t/plexignore-required-word/706999/6 "2021-04-16T18:12:52Z")

</div>

No, that’s not currently possible.

Depending on the goals, options might include rearranging the filesystem, changing permissions, or (ab)using a filesystem to only present the desired files to Plex.

Depending on the directories and files, sometimes it’s possible to make a complicated .plexignore behave in that way. Typically the best choice is to adjust the filesystem.

You could also create a feature request.

[Please Read: Before submitting a feature Suggestion - Feature Suggestions - Plex Forum](https://forums.plex.tv/t/please-read-before-submitting-a-feature-suggestion/273976)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [July 15, 2021, 6:12pm UTC](https://forums.plex.tv/t/plexignore-required-word/706999/7 "2021-07-15T18:12:55Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
