this is my first attempt to run a shell script, namely 'exiftool', from applescript:
set cmd to "exiftool -" & tag & "='" & myName & "' " & myFile
do shell script cmd
cmd looks like this:exiftool -Artist='myName' myFile.jpg and works perfectly when directly inserted in Terminal. exiftool was installed by the standard installer!
What did i miss?
Applescript
use the standard Mac PATH to find applications. On the other hand,Terminal
is using the PATH you can modify through~/.profile
(for example with abash
shell). – dan May 04 '20 at 10:26git
command since I don't know about exiftool. https://git-scm.com/docs/git-pull – anki May 04 '20 at 10:53