How do I run shell script "convert" in OSX Mavericks

Posted by user267219 on Super User See other posts from Super User or by user267219
Published on 2013-10-26T21:32:57Z Indexed on 2013/10/26 22:00 UTC
Read the original article Hit count: 639

Filed under:

I have been successfully converting jpgs to pdf in Mountain Lion with:

do shell script "/System/Library/Printers/Libraries/./convert -f " & "\"" & _posix & "\"" & " -o " & "\"" & _newPosix & "\""

I recently moved to Mavericks and now get this error: --> error "sh: /System/Library/Printers/Libraries/./convert: No such file or directory" number 127

The error message is right - the directory does not exist under Mavericks.

Can anyone suggest a replacement for this code?

© Super User or respective owner

Related posts about osx