Hi -
I'm trying to literally run this shell script:
(pardon my n00bness to scripting if I misuse any terms)
exiftool '-filemodifydate<createdate' "$1"
In order to copy the CreateDate of a photo to the FileModifyDate, so Hazel will name the file correctly with the date from the metadata. Apparently in El Capitan OS X exiftool scripts are stored in /usr/local/bin/exiftool, so I'm trying to implement something like:
/usr/local/bin/exiftool "-filemodifydate<createdate" DIR
Which work on Termial, but I'm not sure how to do it on Hazel. I'm trying:
Shell: /usr/local/bin/
-
exiftool '-filemodifydate<createdate' "$1"
But it's not working (for some obvious reason to someone knowledgeable).
What would be the right way, please?
Also, does the $1 still carries the file in an external script?
TIA.
Rick.