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.
movie_rename.pl
-
- Newbie
- Posts: 10
- Joined: July 12th, 2009, 12:40 pm
Re: movie_rename.pl
How do i execute this script?
Re: movie_rename.pl
It's a Perl script, so you need Perl. On linux, just rename movie_rename.pl.txt to movie_rename.pl, and execute with:DarkPhalanx wrote: How do i execute this script?
perl -w ./movie_rename.pl
On Windows, you'll need something like active perl.