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

-c not working on case-insensitive systems like macOS #16

Open
erikw opened this issue Apr 5, 2022 · 0 comments
Open

-c not working on case-insensitive systems like macOS #16

erikw opened this issue Apr 5, 2022 · 0 comments

Comments

@erikw
Copy link

erikw commented Apr 5, 2022

Command-line says more than words:

$ touch UPPERCASE
$ rename -c UPPERCASE
'UPPERCASE' not renamed: 'uppercase' already exists

This was on macOS 12.3.1 on a case-insensitive APFS filesystem.

It would be great if the lower case renaming would work natively. Currently I have to make a wrapper in my renaming script for macOS to rename to a temporary file.

A workaround currently exist by forcing an overwrite

$ rename -c -f UPPERCASE
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