08-05-2019 07:33 AM
Never used it on Mac, but I presume it would be very similar.
From the exiftool website:
The MacOS package installs the ExifTool command-line application and libraries in /usr/local/bin. After installing, type "exiftool" in a Terminal window to run exiftool and read the application documentation.
I guess the same code should work too.