ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: cocteau on October 08, 2012, 12:02:14 PM

Title: if EXPR and feedback
Post by: cocteau on October 08, 2012, 12:02:14 PM
Hi all,

with "-if EXPR" there are the following feedback.

    42 directories scanned
   118 files failed condition
  3659 image files updated

But what are these "failed condition" and "updated"?
there is a special parameter-log * FILE *?
Title: Re: if EXPR and feedback
Post by: Phil Harvey on October 08, 2012, 12:18:22 PM
You can use the -v option to give verbose output which includes the information you are looking for.

- Phil
Title: Re: if EXPR and feedback
Post by: cocteau on October 09, 2012, 08:37:48 AM
Yes thank you,-v works here.


#INFO EXIFTOOL Genre:
-------- I:/***/***.xmp (failed condition)
-------- I:/***/***.xmp (failed condition)
***
======== F:/***/***.xmp
Rewriting F:/***/***.xmp...
  FileType = XMP
  MIMEType = application/rdf+xml
======== F:/***/***.xmp
Rewriting F:/***/***.xmp...
  FileType = XMP
  MIMEType = application/rdf+xml
***
3777 files failed condition
8518 image files updated
#ERROR EXIFTOOL Genre ERRORLEVEL:1

*** masked :)
-----------------------------------------------------------------------------------------------------

wish-list: rather have two new parameters :)
* -olog=file (for stdOut to a file)
* -elog=file (for StdErr to a file)

Title: Re: if EXPR and feedback
Post by: Phil Harvey on October 09, 2012, 09:20:04 AM
Quote from: cocteau on October 09, 2012, 08:37:48 AM
wish-list: rather have two new parameters :)
* -olog=file (for stdOut to a file)
* -elog=file (for StdErr to a file)

In any bourne shell, you can do this:

exiftool ... >stdout.log 2>stderr.log

This may also work in Windows, but I can't say for sure.

- Phil