Rename Preset that removes space- at end of name

thanks for reading. i did a search but i couldn't find exactly what i require.

i have a to regularly rename files like -

Borrowed Time -.mp4
No Place to Call Home -.mp4

i want to remove the space and the - at the end of the name and ignore any other space- earlier in the name.

thank you

Which version of Opus? This is easier in Opus 12, but can still be done via a slightly more complex method in Opus 11.

i am using version 12.

sorry for posting in the wrong forum.

With Opus 12:

Mode: Standard Wildcard Rename
Old name: * -
New name: *
:ballot_box_with_check: Ignore extension


works perfectly - thank you

me again - i went back to directory opus 11. now my rename doesn't work.

which regular expression do i need ?

thank you

i got it working -

old name (.*)( -)(.[^.]+)

new name \1\3

An alternative way with Opus 11:

Using a script lets you preserve extensions with files and avoid doing it with folders.

Download this zip and extract the .orp (Opus Rename Preset) file inside it:

RemoveTrailingSpaceDash.zip (660 Bytes)

Then open the Rename dialog, and use File > Import to load the .orp file.

If you want the preset added to the list down the side of the dialog, save it after importing it, using the same menu.

i haven't really looked in to scripts but i will now.

thank you :smiley: