nextcloud / nextcloud/files_retention
Move action to different location (instead of deleting)
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 42
- Forks
- 24
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 42
Description
Just being able to delete after set %time seems to be lacking in usage, Can you please add an option to change the behavior? For example, when %time is due, all matching files to be moved to external storage or trash bin or any path within the NC platform.
rule applied path - /path/to/files
selectors - year, month, day, hour
move to - /path (trash/deleted files) (attached external storage/path) (local /data/$user/../..)
Cheers,
Tenuun
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
No files, tests, or entry points are named. Start by tracing how the app handles the %time rule and matching files, then determine how a destination option should cover trash, external storage, and paths within the Nextcloud platform. Done means the requested move behavior is defined and implemented without deleting matching files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100