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

Renaming files appends a _1 at the end of each one #12

Open
HitLuca opened this issue May 26, 2023 · 2 comments
Open

Renaming files appends a _1 at the end of each one #12

HitLuca opened this issue May 26, 2023 · 2 comments

Comments

@HitLuca
Copy link

HitLuca commented May 26, 2023

I'm not sure why, but when renaming files with perfectly fine filenames (TEST.TTF into test.ttf) produces correct results if it wasn't for a _1 appended after each filename (test_1.ttf).

@JannisX11
Copy link
Owner

That seems to be because it's checking if there is already a file with the new name to avoid overwriting, and that check is case-insensitive.
This would be fixable though by checking if it's the same name, just in a different case.

@HitLuca
Copy link
Author

HitLuca commented May 26, 2023

I find myself editing filenames to uppercase/lowercase often, so this change would at least to me be quite nice. For now what works is doing it in two steps, first do what I need and then re-batch rename to remove the _1

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

2 participants