Add relative option
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 59.9k
- Forks
- 5.4k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 48
Description
It would be handy to allow to recreate the entire directory branch relative to some given root (this is possible using rsync). Currently you can get that in linux using something like $(realpath --relative-to $base_path $path) as rclone argument.
For example, if pwd = a/b, copying c/d/e relative to a should create b/c/d/e at the target fs, not only e.
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 source file or test is named. Start by tracing rclone's command-line path handling and compare the requested behavior with rsync and the shown realpath example. Done means copying c/d/e from a/b relative to a creates b/c/d/e at the target rather than only e.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100