Code: Select all
rename r, "-[^-]*$ > .mkv";
what needs to change in the regex to tell it to leave the existing extension as-is ? right now, i use the command (which works, but renames everything to .mkv), then use the Set Extension option under Rename to set it back.