Deleting symbols in file name

Hi,
I'm trying to figure a way to delete symbols in filenames when they are the same filenames
eg:
Above All - mixed by Cardamar - .txt
Above All - mixed by Cardamar.txt

I want to delete the " - " at the end only, with a space next to it on the right, but not the "."

I tried the filters to 'contain' the symbols but no go

I've tried dedupe programs but they wont do large file counts

Can Dopus do it ?

Or even find similar file names then delete that way ?

Tried "find a replace" in rename?

find

  • .txt

replace
.txt

Just one of many variants.

Then again, it isn't clear to me what you mean by "when they are the same filenames".

Hi,

here are 2 filenames that are the same except for the 'space - space' at the end of the first file here

Above All - mixed by Cardamar - .txt

this is the next file with the same name without the 'space - space' at the end

Above All - mixed by Cardamar.txt

I want to delete any files that have the 'space - space' at the end of the filename

Does this mean that you have changed what you want to do?

At first it was to rename, now it is to delete.

If delete is the aim then do you want to find files with that " - .txt" string?

If so, for me, it works with Find and then using regex on the name

(.*)( - ).txt

Doubtless there are better ways of doing this. (I am a regex amateur.) But if it works, who needs perfection?

Thanks Michael its all done
cheers