When scanning in new content for your libraries, you can tell the scanner to ignore files or patterns by adding a .plexignore file to any folder in your Library’s content location. “.plexignore” is the exact name of the file to use; nothing more and nothing less (e.g. it does not have a separate file extension).
If you add the “.plexignore” file to the root (top-level) folder in the content location, the ignore rules will apply to all sub-folders.
Note: Many text editors (e.g. Notepad and Text Edit) will save files with a .txt extension by default. In such a case, you’ll need to manually rename the file to .plexignore exactly by removing the extension. (If you leave it as “plexignore.txt” or “.plexignore.txt” it will not work.)
Add one pattern per line for things you’d like to ignore. The file is interpreted as follows:
- Blank lines are ignored.
- Lines starting with # are comments.
- Patterns without ‘/’s (e.g.
*.mkv) match filenames in the same directory as the .plexignore file, or anywhere in the tree if .plexignore is a root of the section.
- Patterns with ‘/’s (e.g.
somedir/*) match directory and file patterns relative to the directory containing the .plexignore file.
Tip!: Always use forward slashes (
/) as path delimiters, even on Windows.
Example contents of a .plexignore file:
# Ignore all files with "trailer" in the name
# Ignore files with the extension ".cr2"
# Ignore directories called "Modified"
# Ignore all ".tif" files in the "thumbnails" subdirectory
Credit to: https://support.plex.tv/hc/en-us/articles/201375253-Excluding-New-Content-with-plexignore