Rename files in subfolders based on folder or other file?
Posted: 11 Jan 2017 16:04
Hi
Since Kodi is updated i cant get my library to work properly, its a filename that is wrong.
Example:
Folder: Kids movies
Sub-folder: Aladdin
Files in sub-folder: Aladdin.mkv, poster.jpg, Aladdin-fanart.jpg and Aladdin.nfo
Now the problem is that the poster.jpg must be named Aladdin-poster.jpg for everything to work.
Its about 400 sub-folders with the same structure so it should be best to use the folder-name or the nfo filename to fix this.
I am new to this, but i have read some batch coding and edited som batch files but not more than that.
Thank you for reading this.
Best Regards Richard Sabelström
Since Kodi is updated i cant get my library to work properly, its a filename that is wrong.
Example:
Folder: Kids movies
Sub-folder: Aladdin
Files in sub-folder: Aladdin.mkv, poster.jpg, Aladdin-fanart.jpg and Aladdin.nfo
Now the problem is that the poster.jpg must be named Aladdin-poster.jpg for everything to work.
Its about 400 sub-folders with the same structure so it should be best to use the folder-name or the nfo filename to fix this.
I am new to this, but i have read some batch coding and edited som batch files but not more than that.
Thank you for reading this.
Best Regards Richard Sabelström