nextcloud / nextcloud/recognize
Option to exclude special folders like snapshots or recycle bins
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 699
- Forks
- 68
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 5
Description
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.)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the settings page and the scanning behavior described in the issue. Trace how .nomedia, .recycle, .zfs, and custom folder masks are handled, then verify that configured exclusions are recursive and remain excluded during scanning and auto-pruning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100