Is there a way to auto-delete or move duplicate files upon erros renaming?

I have a single file with my .mp3 files in. I always use the command to rename as %artist% - %title% to minimise duplicates (music library used for DJing, so don't care about having pristine album collections with all tracks, including duplicates and so on).

Sometimes I run the Tag - Filename action from the menu bar using my chosen filename convention. However, I will sometimes get errors saying a file cannot be renamed, which is where the file already exists and it cannot rename due to it being being a duplicate.

Is there any way to have mp3tag either delete these failed renaming files or to moving the failed files to a separate folder or something?

The error log prompt box is what I use at the moment to identify the failed duplicates one-by-one, but can be time consuming if there's a few, which inveitably can happen when its a library of tens of thouands of .mp3 files.

No to both options.
If you want to delete the files later anyway, without the check whether the files are really duplicates or just poorly tagged (as they are in fact the live version, the dub, the remix etc), you could do 2 runs to rename the files:
First rename them with

(2 trailing underscores)
Then rename them again, this time without the trailing underscores. All the alleged duplicates will be left over with those trailing underscores which could easily be filtered with
%_filename% HAS __
and then be deleted/moved to a different location.

This gave me an idea for the solution!

I ran the rename filename first with:

_%artist% - %title%

And then sorted the files in Windows Explorer, deleting anything without a leading "_", and then re-run the rename filename without the leading `"_"´ and then it had no errors :ok_hand: