rclone / rclone/rclone

Add relative option

Open
#1,314 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement UX
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.