shell script that used to work now fails

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

shell script that used to work now fails Sun Dec 18, 2022 10:51 am • by wlad
Hi,

I have been running this script which I took from a photographer's website for many years and it always worked. Now there is aproblem, which I cannot locate.

Can anyone help? Here is the script:

exiftool -P -d '%Y-%m-%d at %H-%M-%S' \
'-filename<${FileModifyDate;}%-c.%e' \
'-filename<${GPSDateTime;}%-c.%e' \
'-filename<${MediaCreateDate;}%-c.%e' \
'-filename<${ModifyDate;}%-c.%e' \
'-filename<${DateTimeOriginal;}%-c.%e' \
"$1"

And here is the log: Shellscript exited with non-successful status code: 127
wlad
 
Posts: 1
Joined: Sun Dec 18, 2022 10:43 am

Re: shell script that used to work now fails Mon Dec 19, 2022 11:18 am • by Mr_Noodle
This might be better handled in a forum dedicated to exiftool. You can turn on debug mode in Hazel as described here: https://www.noodlesoft.com/kb/hazel-debug-mode/

That will show more script output in the logs. Hopefully that will help you diagnose things.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support