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

Unable to rename … file exists #1

Closed
frebro opened this issue Oct 14, 2019 · 2 comments

Comments

@frebro
Copy link

@frebro frebro commented Oct 14, 2019

I'm unable to run this from the command line:

❯ ./node_modules/.bin/renamer -d -p case --case kebab svg/*.svg
Dry run
✔︎ svg/Alert-30.svg → svg/alert-30.svg 
Unable to rename svg/Alert-30.svg to svg/alert-30.svg [file exists]

The script stops on the first file, claiming it can't be renamed because the file already exists. I'm on macOS 10.15.

@75lb

This comment has been minimized.

Copy link
Owner

@75lb 75lb commented Oct 14, 2019

@frebro

This comment has been minimized.

Copy link
Author

@frebro frebro commented Oct 14, 2019

Ah! I knew that, but actually thought renamer would handle that for me. Using --force makes sense though. Thanks for fast reply!

@frebro frebro closed this Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.