This script is useful for renaming large numbers of TV episode files from the "S01E05" or "1x05" format to a more useable "1.05 - Episode Title" format.
4.06 - The Other Woman.avi
Create a file called eps.txt and place it in the same directory as the files being renamed.
Go to tv.com, locate the episode lists for the show you wish to rename and copy the table into the eps.txt file for all the seasons you require. You should end up with each line being formatted somewhat similar to this:
1 Pilot (1) 9/22/2004 100 Reviews available 9.45
As tv.com sequentially numbers the episode lists (eg the first episode of season 2 might be #25) you will need to indicate (within the eps.txt file) where a new season begins.
Do this by placing a hash (#) on a line by itself before the line containing the first episode of the new season:
24 Exodus (2) 5/25/2005 123 Reviews available 9.55 # 25 Man of Science, Man of Faith 9/21/2005 201 Reviews available 9.38 26 Adrift 9/28/2005 202 Reviews available 8.76
Save the eps.txt file.
You should now be able to select the files to be renamed, go to the renaming dialog, and choose this script!