Option to exclude special folders like snapshots or recycle bins
Describe the feature you'd like to request
Hello,
I would like a feature/option that allows me to exclude certain folders from scanning. I'm familiar with the option to create something like .nomedia, but it's not possible to create such a file in some system folders, or in the case of the Recycle Bin, this file is also deleted during auto-pruning.
Describe the solution you'd like
The solution could be to add a checkbox to the settings page to exclude special folders, such as:
- .recycle (used by SMB/CIFS for recycle bin)
- .zfs (contains the ZFS-Snapshots)
- "custom" (with text box)
These masks should be recursive.
Describe alternatives you've considered
For special system folders, such as .zfs, there is no alternative because not even root has write access to create a .nomedia.
(You can hide the .zfs folder from Nextcloud by disabling snapshot visibility, but then file versioning will no longer work properly.)
Hello @OiledAmoeba Thank you for taking the time to give feedback. We looked into your suggestion and it looks interesting. Would you be up for developing this? We will review the code and we are also happy to give pointers. At the moment we do not have the possibility ourselves to develop this but we are happy to help and review the Pull request swiftly if someone wants to work on this. Thank you