missing syntax in SYNOPSIS ???

Started by orax, June 20, 2014, 08:11:42 PM

Previous topic - Next topic

orax

Hello !

I'm not sure but I think there is a missing syntax in SYNOPSIS because "Tag operations" are differents.

SYNOPSIS https://exiftool.org/exiftool_pod.html#synopsis

Original:
exiftool [OPTIONS] -TAG[+-<]=[VALUE]... FILE...


exiftool [OPTIONS] -TAG[+-]=[VALUE]... FILE...
exiftool [OPTIONS] -TAG[+-]<=DATFILE FILE...
exiftool [OPTIONS] -TAG[+-]<SRCTAG FILE...



Tag operations https://exiftool.org/exiftool_pod.html#tag_operations

  -TAG or --TAG                    Extract or exclude specified tag
  -TAG[+-]=[VALUE]                 Write new value for tag
  -TAG[+-]<=DATFILE                Write tag value from contents of file
  -TAG[+-]<SRCTAG                  Copy tag value (see -tagsFromFile)

Phil Harvey

Hi Orax,

Thanks for your suggestion, but I don't think anything is missing. I will concede that the VALUE is a DATFILE name in the case where "<=" is used.  The "-TAG[+-]<SRCTAG" is part of the -tagsFromFile feature.  Also, I admit that the -tagsFromFile feature is more flexible than given in the synopsis ("<" is allowed as well as ">"; the -tagsFromFile is optional when ">" or "<" is used; the rh argument of "<" may be a format string; "+<", "-<", "+>" and "->" are all allowed...), but these are explained in the details below, and I think the synopsis is complex enough already.

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