move-ts
move-ts copied to clipboard
Cant change file name case on windows
When I try to rename "atomize" to "Atomize" I get error: c:\Main\Work\syncretic\app\utils\Atomize.ts already exists.
VSCode version: 1.18.1 MoveTS version: 1.50 Windows: 8.1 Pro
Solution probably is to pass { overwrite: true }
to moveAsync due to https://github.com/overlookmotel/fs-extra-promise/issues/25 and maybe use newer fs-extra.
This error happens before we attempt to do the move. We check that the location you are attempting to move to does not already exist: https://github.com/stringham/move-ts/blob/da386627c841b827a6e1cf121e20d507f876205a/src/extension.ts#L48-L51
Is there a way to check for file existence in a case sensitive way across file systems?
Happens also on osx