Question about functionality

I have a headless machine with filebot on it and im having issues with calling FB from my python script. I am wondering if TMM could replace FB in my script and achieve the result im looking for.

All i need it to do is rename movies to the format …\Movie (year)\Movie (year).ext within the parent folder via command line

ie:
/media/sdu1/home/saitoh183/private/Transfer/manage/movies/dualmovies/Veronica.Mars.2014.MULTi.TRUEFRENCH.720p.BluRay.x264-FrIeNdS.mkv\Veronica.Mars.2014.MULTi.TRUEFRENCH.720p.BluRay.x264-FrIeNdS.mkv

to

/media/sdu1/home/saitoh183/private/Transfer/manage/movies/dualmovies/Veronica Mars (2012)/Veronica Mars (2012).mkv

Can this be done?