weeklop.blogg.se

Error running exiftool mac
Error running exiftool mac





error running exiftool mac
  1. #Error running exiftool mac how to
  2. #Error running exiftool mac code

You can see the quotes are around the name, not the entire -author switch. For example, if the command line version were:Įxiftool -author='John Doe' /path/to/some.jpg You have to consider how you'd enter this at the command line to work out how best to translate it to AppleScript. Set cmd to "exiftool " & quoted form of authorStr & space & thisFilePathĪlthough the format looks wrong to me - shouldn't there be some kind of switch, such as "-author=' before it? Yea, the authorStr value has a space like "Joe Smith"

#Error running exiftool mac how to

I read somewhere in the applescript docs that this is due to a change in OS 10.6? Any suggestions on how to fix this? It has been suggested by the developer of Exiftool, Phil Harvey, that there is a backtick in the second shell script.

#Error running exiftool mac code

The code in the event log in applescript editor looks exactly the same to me but one fails in the shell script. Sh: -c: line 1: syntax error: unexpected end of file" number 2. Returns the error "sh: -c: line 0: unexpected EOF while looking for matching `'' Set cmd to "exiftool" & space & authorStr & " " & thisFilePath & "" Works fine but the following shell script

error running exiftool mac

Set cmd to "exiftool -CopyrightNotice=" & exifCopyright & " " & thisFilePath & "" I'm using Exiftool, an app that writes metadata to image files. For the life of me I can't seem to find where the error is being generated? I've got a script that appears to be using a backtick instead of an apostrophe which is causing an error in my shell script.







Error running exiftool mac