Can't get exiftool to shut up (-q / -quiet not working)

Started by stefandesu, February 15, 2020, 03:52:25 AM

Previous topic - Next topic

stefandesu

1) macOS 10.14.6
2) 11.85 (via Homebrew)
3) exiftool -q -p '$CreationDate' -d '%Y%m%d%H%M' test/IMG_8439.MOV
4)

202002142206                                                                                       
Warning: [minor] The ExtractEmbedded option may find more tags in the media data - test/IMG_8439.MOV

5) Will post if necessary.

Am I doing something wrong? Neither -q nor -quiet have any effect on warning/error outputs. Tested with many other files as well (media and non-media files). What I want is to have either the successful output or no output if exiftool didn't find anything (as I'm using it inside a bash script).

Thanks!

Phil Harvey

From the -q option documentation:

            Quiet processing.  One -q suppresses normal informational
            messages, and a second -q suppresses warnings as well.  Error
            messages can not be suppressed, although minor errors may be
            downgraded to warnings with the -m option, which may then be
            suppressed with "-q -q".


- 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 ($).

stefandesu

Thanks Phil! Now I feel stupid for asking. 😅 I stopped reading the man page at -q          (-quiet)             Quiet processing...