Skip to content

Adding a lock for the interactive prompt #5027

Open

Description

@kadogo

What is your current rclone version (output from rclone version)?

rclone v1.53.3
- os/arch: linux/amd64
- go version: go1.15.5

What problem are you are trying to solve?

Hello,
When using the interactive flag his output is mixed up with the notice/errors and the progress display.

How do you think rclone should be changed to solve that?

Like discussed on https://forum.rclone.org/t/having-a-feedback-about-deleted-files/22251/8 the interactive prompt surely need a kind of lock.

Activity

  1. added this to the v1.55 milestone on Feb 15, 2021
  2. modified the milestones: v1.55, v1.56 on Apr 3, 2021
  3. modified the milestones: v1.56, v1.57 on Jul 20, 2021
  4. self-assigned this
    on Oct 20, 2021
  5. modified the milestones: v1.57, v1.58, Soon on Oct 20, 2021
  6. clari7744 commented on Jun 28, 2025

    @clari7744

    I was searching for issues like mine and this seems to be it. When using rclone sync -P --interactive, it asks me at each file what to do, but the prompt immediately gets eaten by the log when I press enter. I wanted to, for example, respond ! for "update modification time", but vet each copy/delete operation. However, since the prompt gets eaten before I can read it, I can't tell what it's asking me until after I press enter (I think) and then it still goes away right away. These two flags should be able to work together better to not step on each other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions