Page 1 of 1

movie_rename.pl

Posted: October 18th, 2009, 7:08 pm
by dgege
Hi all,
I wrote a small perl script (movie_rename.pl) that scans a folder for the nfo and renames the folder according to the imdb title and year. Usage is simple, either pass it a number of folders, or call it with no arguments and it scans all folders in the current one (useful to run on your entire collection).
It can also be used with sabnzbd by using the script "rename.sh" (assuming you put movie_rename.pl in /usr/local/bin/)

It works well for me, only dependency is to have IMDB::Perl.

Re: movie_rename.pl

Posted: October 29th, 2009, 3:47 pm
by DarkPhalanx
How do i execute this script?

Re: movie_rename.pl

Posted: October 29th, 2009, 4:14 pm
by dgege
DarkPhalanx wrote: How do i execute this script?
It's a Perl script, so you need Perl. On linux, just rename movie_rename.pl.txt to movie_rename.pl, and execute with:
perl -w ./movie_rename.pl

On Windows, you'll need something like active perl.