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

**URL:** https://community.mp3tag.de/t/is-there-a-way-to-auto-delete-or-move-duplicate-files-upon-erros-renaming/63573
**Category:** Support
**Created:** [January 27, 2024, 1:09pm UTC](https://community.mp3tag.de/t/is-there-a-way-to-auto-delete-or-move-duplicate-files-upon-erros-renaming/63573 "2024-01-27T13:09:28Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 27, 2024, 1:19pm UTC](https://community.mp3tag.de/t/is-there-a-way-to-auto-delete-or-move-duplicate-files-upon-erros-renaming/63573/2 "2024-01-27T13:19:57Z")

</div>

> [@Bunford](#):
>
> 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?

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

> [@Bunford](#):
>
> %artist% - %title%\_\_

(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.

---

_[View the full topic](https://community.mp3tag.de/t/is-there-a-way-to-auto-delete-or-move-duplicate-files-upon-erros-renaming/63573)._
