Examples:
iptc image.jpg # display the IPTC metadata contained in image.jpg
iptc -m Caption -v "Foo" *.jpg
# set caption "Foo" in all jpegs of the curr. dir.
iptc -a Keywords -v "vacation" *.jpg
iptc -a 2:25 -v "vacation" *.jpg
# either command adds keyword "vacation" to all jpegs
iptc -d Keywords:1 image.jpg
# removes keyword number 1 (the 2nd) from image.jpg
iptc -d Keywords:all image.jpg
# removes all keywords from image.jpg
Operations:
-a, --add=TAG add new tag with identifier TAG
-m, --modify=TAG modify tag with identifier TAG (add if not present)
-v, --value=VALUE value for added/modified tag
-d, --delete=TAG delete tag with identifier TAG
-p, --print=TAG print value of tag with identifier TAG
--add-version add IPTC version number into the headers
--add-encoding add text encoding specification (UTF-8) into headers
Options:
-q, --quiet produce less verbose output
-b, --backup backup any modified files
--no-sort do not sort tags before saving
Informative output:
-l, --list list the names of all known tags (i.e. Caption, etc.)
-L, --list-desc=TAG print the name and description of TAG
--help print this help, then exit
--version print iptc program version number, then exit