Plex: Ignore Directories
Description:
Follow these steps to have Plex Media Server ignore a directory.
To Resolve:
-
So let’s say we have a folder:
C:\vids. In it, you have two normal foldersyoutubeandmoviesthat Plex scans and adds to its libraries. But let’s say we have aprivate-vidsfolder in there that is hidden in Windows Explorer that you don’t want Plex to scan. What you do is create a file called.plexignoreand put the folder followed by/*as the value. Plex will then skip it. In Powershell, this looks like:1 2
Set-Location C:\vids (ni -ItemType file -Value "private-vids/*" -Name .plexignore).attributes="hidden"
-
Now you can verify:
1 2 3 4 5 6 7
cd c:\vids ls # Shows "youtube" folder and "movies" folder ls -Hidden # Shows "private-vids" folder and ".plexignore" file cat .\.plexignore # returns: private-vids/*
Comments