scenario:
inside a folder I am watching there is a file, inside that file is a door...no wait. that's the matrix.
ok, imagine there is:
file.ext
I then export to the folder an new version of the file, but it is named:
file-a.ext
I want hazel to strip the new file of the suffix "-a" so that it becomes:
file.ext
but as there is already a file.ext, it creates an incremented version:
file-1.ext
which I do not want
is there a way, when renaming a file, that if a file already exists with the same name, the previously existing file is deleted BEFORE renaming the new file, so no incremented "duplicate" is created? Essentially I want to overwrite the existing file with the new one when it is renamed.
much obliged.