Exiftool writes non-error messages to stderr

Started by ankutsa, October 13, 2013, 01:04:43 PM

Previous topic - Next topic

ankutsa

For example things like "3 image files read".

These are not errors, and it confuses my PHP application, which is supposed to throw exceptions if stderr is not empty

Phil Harvey

Try adding the -q option to the command.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).