#snapshot and #recycle: how to avoid them with .plexignore?

Hi, I know that the question has already been posted, but, not being native speaking, I’m in trouble with the answer :smile:

Can someone please explain, as to a “first grade pupil”, how can I say to my Plex scanner to ignore the two above mentioned folders?

I must create a file, with Textedit (I’m on a Mac), call it .plexignore… ok. And then put this file in my folders (I have snapshot in Film, Photo, Tv Show…).
I can’t understand what am I supposed to write inside the file.

Thak you for your help.

@supertopix said:
Hi, I know that the question has already been posted, but, not being native speaking, I’m in trouble with the answer :smile:

Can someone please explain, as to a “first grade pupil”, how can I say to my Plex scanner to ignore the two above mentioned folders?

I must create a file, with Textedit (I’m on a Mac), call it .plexignore… ok. And then put this file in my folders (I have snapshot in Film, Photo, Tv Show…).
I can’t understand what am I supposed to write inside the file.

Thak you for your help.

There is an example here https://support.plex.tv/articles/201375253-excluding-new-content-with-plexignore/ for how to ignore a directory

However, the # character is a comment indicator and so would need to be escaped - entered as
\\#snapshot/*

The #recycle should already be ignored by default - do you have evidence that it is not ?

If you need to provide logs, see
See
https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/
https://support.plex.tv/articles/200250417-plex-media-server-log-files/

Thank you.
So, for example, I have to put in my Photo Folder, where I have #snapshot, a file called .plexignore. In this file I’m gonna write: \\#snapshot/* ? Is it right?

@supertopix said:
Thank you.
So, for example, I have to put in my Photo Folder, where I have #snapshot, a file called .plexignore. In this file I’m gonna write: \\#snapshot/* ? Is it right?

Yes - that should be ok

Is Windows ‘$RECYCLE.BIN’ also supposed to be ignored automatically?
I have had it listed in my Photos library root .plexignore for ages, but the scanner still looks in there all the time.

image

This is my .plexignore file:

#.plexignore

# Ignore everything in the "thumbnails" directory.
thumbnails/*

# Ignore directories called:
Old Photo Scans/*
Photo Fix/*
$RECYCLE.BIN/*
Template Year/*
Maps/*
LifeCam Files/*
Microsoft Clip Organizer/*

The best method to avoid scanning the recycle.bin folder is to let Plex only look at folders, and not at the root of a drive.
Using .plexignore slows down the scanner, sometimes considerably.

So you would move all the photos folders down one folder level and re-point at that new folder? Problem with that scheme is that PMS is accessing the photo folder as a UNC share -
\server\share - so I think it will always be treated as a ‘root’ folder. Agree?

No. In this case, all you need to do is to remove the sharing of the drive letter and share the folder instead, with the same share name.
(Plex should be shut down during the change)

This will take care of the trash bin.
And you don’t need to change anything in Plex.

The share is of the top-level folder for my photo library. That top-level folder is actually several folders deep on the physical drive in the server. Something like E:\Data\Shared\Photos
ß share at this level.

Then the recycle.bin folder is not made by Windows. Genuine Windows machines only create one in the root folder of a drive, never within a subfolder (shared or not).
In which case my proposal unfortunately won’t work for you.

I have found that the $RECYCLE.BIN gets created by users computers that have Folder Redirection enabled to this share. In my case it is a user having the Windows ‘Photos’ library location set to \\Server\Share.

So what I really need is for the .plexignore file to work, and ignore this folder as entered.

Maybe you need to escape the $ sign as well, similarly to the # above?