try to run 'exiftool' from applescript but get 'command not found' [duplicate]

Run

which exiftool

or

type exiftool

and use that path instead of exiftool in the script.

For e.g. if I was using git in Automator, I'd do this.

/usr/bin/git pull 

Modify this for exiftool usage.