Merge directory when move files
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Is your feature request related to a problem? Please describe.
When i move some directory like old_path/2015/06 to an existing folder like new_path/2015/06 i would merge my files, instead no files are moved because nextcloud raise an error new_path/2015/06 path already exist".
Describe the solution you'd like
When moving a directory containing some files into a new directory, the server must merge these directories if the destination already contains the same subfolder.
Describe alternatives you've considered
Manually move files one by one, but is not good if you tons of media files, instead we can use the calssic cp -R src dst, but we must rescan the files
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
The issue does not name files, tests, or an entry point. Start by reproducing a move from old_path/2015/06 into an existing new_path/2015/06, then trace the server's directory-move handling; done means matching subdirectories are merged and their files are moved without the destination-exists error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100