Author Topic: Can't get exiftool to shut up (-q / -quiet not working)  (Read 56 times)

stefandesu

  • Newbie
  • *
  • Posts: 2
Can't get exiftool to shut up (-q / -quiet not working)
« on: February 15, 2020, 03:52:25 AM »
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)
Code: [Select]
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

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 15660
    • ExifTool Home Page
Re: Can't get exiftool to shut up (-q / -quiet not working)
« Reply #1 on: February 15, 2020, 07:24:55 AM »
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, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

stefandesu

  • Newbie
  • *
  • Posts: 2
Re: Can't get exiftool to shut up (-q / -quiet not working)
« Reply #2 on: February 15, 2020, 10:54:59 PM »
Thanks Phil! Now I feel stupid for asking. 😅 I stopped reading the man page at -q          (-quiet)             Quiet processing...