rclone / rclone/rclone

completion of remote paths fails on spaces

Open
#8,056 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug UX waiting for upstream...
Dominant language
Go
Stars
59.8k
Forks
5.4k
Avg merge
2d 14h
Merged PRs (30d)
48

Description

rclone version: 1.67.0
shell: bash and fish
remote: pcloud

Shell completion of remote paths works properly when there are no spaces in the path, but fails to find matches with spaces in the path.

Oddly, I can complete a folder in the root of my remote that has a space in the name, but then cannot complete any files within that folder. If the path has no spaces, I can continue to use shell completion to find files and folders.

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

Reproduce shell completion for remote paths containing spaces against the pcloud remote using both bash and fish. Trace the remote-path completion entry point and compare completion at the remote root with completion inside a folder containing spaces. Done means nested files and folders with spaces produce correct matches in both shells.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, fish, go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.