Kuoxsr / spindex

A personal tool to generate sounds.json from a folder structure
0 stars 0 forks source link

Should warn the user of file name collisions and allow abort #5

Closed Kuoxsr closed 7 months ago

Kuoxsr commented 7 months ago

If a file is in the exact same place and is the exact same name as a file in the target location, this script will happily overwrite the existing file with the one from the staging area. This shouldn't be allowed.

The output to the user should contain a message about file name collisions and a path to each affected file, and then allow the user to stop execution of the script.