HELP - Auto rename file from file name of another file
#1
I am hoping someone can help me with this.

I had all my moves sorted by folder with nfo,tbn,fanart etc

now due to losing my RAID I lost everything. after tricking xbmc and exporting the database i have all the folders and nfo/tbn (low res) and fanart.

I now want to find a way to script taking the file name of the nfo (minus the extension)

"AVP - Alien vs. Predator (2004) [dvd.480p.mp3-2ch].nfo"

and rename any AVI file it finds next to the nfo file with it.

so it will find
"Alien Vs Predator 1 (2004).avi"

and name it

"AVP - Alien vs. Predator (2004) [dvd.480p.mp3-2ch].avi"

I dont have any CD1/CD2 movies so thats not an issue.


Thanks in advanced!
Reply
#2
WinGmaN Wrote:I am hoping someone can help me with this.

I had all my moves sorted by folder with nfo,tbn,fanart etc

now due to losing my RAID I lost everything. after tricking xbmc and exporting the database i have all the folders and nfo/tbn (low res) and fanart.

I now want to find a way to script taking the file name of the nfo (minus the extension)

"AVP - Alien vs. Predator (2004) [dvd.480p.mp3-2ch].nfo"

and rename any AVI file it finds next to the nfo file with it.

so it will find
"Alien Vs Predator 1 (2004).avi"

and name it

"AVP - Alien vs. Predator (2004) [dvd.480p.mp3-2ch].avi"

I dont have any CD1/CD2 movies so thats not an issue.


Thanks in advanced!

Just a big thanks to EqUiNoX for helping me with this! I now have all my AVIs renamed correctly!
Reply

Logout Mark Read Team Forum Stats Members Help
HELP - Auto rename file from file name of another file0