Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escaping characters in file name, mirror doesn't follow standard bash escape #736

Open
deze333 opened this issue Sep 26, 2024 · 0 comments

Comments

@deze333
Copy link

deze333 commented Sep 26, 2024

Example filename:

Filename - 1234 'Red' [456] (ABC)

Escaped for Bash:

Filename\ -\ 1234\ \'Red\'\ \[456\]\ \(ABC\)

But mirror command doesn't unescape all escaped characters:

mirror: Access failed: No such file (/Filename - 1234 'Red' \[456\] \(ABC\))

The only way to make mirror work is to skip escaping brackets, like so:

Filename\ -\ 1234\ \'Red\'\ [456]\ (ABC)

But that seem to be a non-standard escape scheme.

Also, some characters like " even if escaped just disappear from the filename when parsed by mirror.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant