Skip to content

dry run not dry enough #3

Closed
Closed

Description

@dskinner

I may be overlooking something but I ran rclone --dry-run sync drive:Foo local:. and it actually syncs and removes local files from disk that are not on drive. If I remove the dry run option, the only visible change is some additional logging

$ rclone sync drive:Foo local:.
2014/06/26 08:44:30 Local file system at .: Building file list
2014/06/26 08:44:30 Local file system at .: Waiting for checks to finish
2014/06/26 08:44:31 Local file system at .: Waiting for transfers to finish
2014/06/26 08:44:31 Waiting for deletions to finish
...

Activity

  1. self-assigned this
    on Jun 26, 2014
  2. ncw commented on Jun 26, 2014

    @ncw
    Member

    I can confirm this problem. There is logic to skip deletes on dry run, but the --dry-run flag setting isn't being passed down to it for some reason that I'll work out shortly!

    Thanks for the bug report.

  3. ncw commented on Jun 26, 2014

    @ncw
    Member

    I've made a new release with this fix v0.99 - thanks for reporting the problem!

  4. added a commit that references this issue on Jul 14, 2024
  5. added a commit that references this issue on Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions