if EXPR and feedback

Started by cocteau, October 08, 2012, 12:02:14 PM

Previous topic - Next topic

cocteau

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 *?

Phil Harvey

You can use the -v option to give verbose output which includes the information you are looking for.

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

cocteau

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)


Phil Harvey

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