Normalise video file names

Updated: 2013-03-04 – Fixed bug that prevented names containing 720p/1080p from being parsed properly.

This is a perl script to normalize video file names for TV series, it will run under windows or linux.

Note: I have tested this and do use it however I may have missed something or there may be a bug I have not encountered, I would advise backing up the files to be renamed before running the script and then verify that it has worked as expected. If so delete the backups if not please leave a comment detailing what has happened and I’ll try to fix it asap.

Disclaimer: I am not responsible if this causes WWIII or nukes your computer, use at your own risk.

Supported naming schemes

Name

  • Single
  • Double.1
  • Double 2
  • Double-3
  • Double_4

Season-Episode