marcusbuffett / pipe-rename

Rename your files using your favorite text editor
https://crates.io/crates/pipe-rename
MIT License
396 stars 12 forks source link

Renaming on a drive with case-insensitive file system (or a file system placed into that mode) #79

Open assarbad opened 10 months ago

assarbad commented 10 months ago

I encountered that when I changed the casing of a single letter in a file name on an exfat USB stick (i.e. case-insensitive, but case-retaining), renamer complained that it would overwrite existing files.

This happened on Linux with 1.6.5.

May be related to #75?!

PS: the obvious fix is the same that everyone knows from Windows in order to rename a file and only change the casing: simply split it into two. 1. rename to something else (e.g. append _) then 2. do the case change and remove the appended "something".

mtimkovich commented 10 months ago

Does it work if to --force the rename?