Skip to content

--backup-dir argument and --old-args #825

@victorshoup

Description

@victorshoup

Recent versions of rsync changed the way arguments were processed, so that escaped quotes are passed through as escaped quotes, unless one specifies --old-args(or sets the corresponding environment variable). However, the --backup-dir argument does not behave consistently. Like other arguments, it gets passed through with escaped quotes; however, this happens even with --old-args.

Thus, this is a breaking change without any mechanism available to maintain backward compatibility. Was this intentional or is it a bug?

I have old scripts that need to be rewritten to take into account the versions of local and remote sync, and I'm not entirely sure all combinations of local and remote versions will even work.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions