I'm testing a script before I perform it on the folders that have my TV shows in them. Here's the test. I have C:\DL\TV folder and I just dumped some episodes of a show called Forever in this folder unsorted and not named correctly as if they were being downloaded straight into this folder. Then I have a C:\Dest\TV Shows\Forever\Season 1 folder where I want the videos to go but i want to rename them in this way C:\Dest\TV Shows\{n} {y}\Season {s}\{n.space('.')}.{'s'+s.pad(2)}e{e.pad(2)}.{t.space('.')} renaming the show name folder so it includes the year in the process. Here's What I have:
Code: Select all
filebot -non-strict -rename C:\DL\TV --action move --output /path "C:\Dest\TV Shows" --format "C:\Dest\TV Shows\{n} {y}\Season {s}\{n.space('.')}.{'s'+s.pad(2)}e{e.pad(2)}.{t.space('.')}" --db TheTVDB
But this only just creates a Forever (2014) 2014 folder alongside the existing Forever folder. Do I need a separate command to rename the folder first and how do I prevent the year from showing in the name 2 times?