2009-10-01, 09:45
I'm looking for an Automator Action (or any other folder action / perl script) which I can use on a folder so that it will automatically rename the .jpg file and .srt file in that folder to the name of the movie which is in it.
So if I have
/Movies/Amelie/Amelie_720p.mkv
/Movies/Amelie/picture.jpg
/Movies/Amelie/subtitle.srt
and run the applescript on it, it will rename the files to
/Movies/Amelie/Amelie_720p.mkv
/Movies/Amelie/Amelie_720p.tbn
/Movies/Amelie/Amelie_720p.srt
and - if it is possible - even create a new movie.tbn from the Amelie_720p.tbn file.
There won't always be a srt file, but the jpg file is always there.
Anybody knows how to do this?
Thanks in advance!
So if I have
/Movies/Amelie/Amelie_720p.mkv
/Movies/Amelie/picture.jpg
/Movies/Amelie/subtitle.srt
and run the applescript on it, it will rename the files to
/Movies/Amelie/Amelie_720p.mkv
/Movies/Amelie/Amelie_720p.tbn
/Movies/Amelie/Amelie_720p.srt
and - if it is possible - even create a new movie.tbn from the Amelie_720p.tbn file.
There won't always be a srt file, but the jpg file is always there.
Anybody knows how to do this?
Thanks in advance!