I have several folders full of files with the following format:
Show Name - 07x09 - Episode Title.mp4
What I'm trying to do is rename them to the following format:
I've already accomplished this using a few rename commands:
rename 's/ - /./g' * rename 's/ /./g' * rename 's/.([0-9]+)x([0-9])/.S$1E$2/g' *
But I know there must be a better, more efficient way. How would you tackle this?