Skip to content

Adding paths to the rysnc options will cause unexpected issues #93

Description

@book

I understand that timemachine expects only two arguments before the ---separated rsync options.

timemachine passes those "rsync options" after the -- as a whole to rsync. This means that if those arguments contain one or more paths that rsync will accept, it will completely change the meaning of the generated rsync command-line, leading to unexpected behavior.

I don't think there's a way around this, apart from actually parsing the rsync options... 😱
(If only because they can be in either --option=value or --option value forms, forcing the tool to know them in accurate detail.)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions