Torrented Movie renaming tool
When I download torrented movies I like to rename them so the folder and file names are all neat. I need all my movies in a sub folders because this is the way the “Media Browser” Media center plugin in the post below requires. The AVI file needs to be named the same as the folder as well. This can be rather tedious, so I wrote a PHP script to automate renaming downloaded movies. I then used a tool called “bamcompile” to compile the php script into an executable that can be dropped into any folder and ran.
The script will scan through all the folders in the loation the exe is places, it will rename the folder all nice, format the data in the title and delete anything after the date. It will then rename all the files inside the folder to match, along with deleting any nfo and txt files.
For example a folder named “Tropic.Thunder[2008]DvDrip-aXXo” would be renamed to “Tropic Thunder (2008)“.
Most torrents you download the movie is already in a sub-folder, but if they are not, or if you have a ton of old movies all in one folder, you can use this simple DOS batch script my friend made for me to move each file into a sub-folder. movie_folder_tool
I also see someone recently made a batch file that does the same thing available here.
![[2012] [2012]](http://lh5.ggpht.com/-gNjv76cLWeI/TwE8eHeMmSE/AAAAAAABO3w/fvqfGeVL-vo/s64-c/2012.jpg)




