Linux Simple bash script to rename movies
#1
Hey,

I spent a bit of time writing this today and thought it could be useful to someone else:
http://pastebin.com/pfYELP7j

I wanted to rename my movies, both files and folders.
Sounds simple right?
Well I looked around at various tools but didn't actually find something simple that could do what I wanted:
- either it would not work in Arch/Linux like Ember,
- or others like FileBot seemed like a hassle for me to keep my movies named in whatever their original language is ( I have many)
- etc

Since XBMC is already pretty good at giving me the right data why not use it? Why bother with a different system if all I need is there already?
This script simply reads the nfo, find the originaltitle (or title if not), the year, and rename the files and folders.
It currently strictly match my filesystem hierarchy but it would be easy to change.

Maybe not the cleanest (I'm no bash script dev...) but it worked for me Smile

Cheers!
Reply
#2
Hi

How do I use the script? Sounds great.

Alon
Reply
#3
Hi

Have a look at the script i wrote:

http://forum.xbmc.org/showthread.php?tid=151924
Reply

Logout Mark Read Team Forum Stats Members Help
Simple bash script to rename movies0