Skip to content

Conversation

fbuescher
Copy link
Contributor

when syncing to a target with multiple leading /, only the first two get removed. The code-block with

    if arg.startswith('/'):
        arg = args.dir + arg

does not work (for me), files get placed in the root directory. The provided fix removes all leading /

@tridge tridge merged commit d4c4f67 into RsyncProject:master Aug 23, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants