compare file names and move files applescript

Joined
Aug 24, 2010
Messages
3
Reaction score
0
Points
1
hello to everyone

I'm new here at the forum but I already learn a lot with you guys.

I'm tryin to automate my mediacenter workflow and I'm making some applescripts to help me out.

Now I trying to make a script that look at the .avi files in a folder and see if there's a file with the same name but with the .srt extension. If the .srt file exist move both files to an especified folder.

I know how to select all the .avi files in a folder, but I don't know how to verifie if in the same folder exist a file with the same name but with .srt extension.

Someone know a way to do that?

Thanks
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top