Skip to content

Option to exclude special folders like snapshots or recycle bins #1385

Description

@OiledAmoeba

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.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions