nextcloud / nextcloud/recognize
Add PATH option to recognize:classify command
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
Ability to limit occ recognize:classify to a single path.
Describe the solution you'd like
Something like other apps have :
occ recognize:classify --path="/username/files/MyFolder/"
Describe alternatives you've considered
Running occ recognize:classify again on the whole server, but that takes hours and hours just to go through the photos that are already indexed and classified.
Alternative could be something like occ recognize:classify --new which would skip all the files that have already been classified.
(or making this default behavior for occ recognize:classify and adding something like occ recognize:classify --force to force re-scan/re-index/re-classification of whole server)
I do realize this app is now on the "limited effort" maintenance, but hopefully someone picks up the task eventually...
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 by locating the occ recognize:classify command entry point and reading how it selects files for classification. Add a path-limiting option matching the requested usage, then verify that classification is restricted to the selected directory without changing whole-server behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100