Import IPTC data from CSV to TIF

Started by dinf, May 29, 2019, 05:57:06 PM

Previous topic - Next topic

dinf

When I try to import IPTC data to a group of TIFs, only the last tag(Creator) is written.  Here is some sample output from running the command with the -v2 flag.

======== C:/Users/Name/Pictures/Exiftools-Test/U - Copy/Last, First  (1234) 2345.tif
Setting new values from CSV database
Writing PDF:Creator if tag exists
Writing PostScript:Creator
Writing XMP-dc:Creator
Writing XMP-pdf:Creator if tag exists
Improperly formed structure for XMP-iptcExt:Creator
Writing XMP-photoshop:DateCreated if tag exists
Invalid date format (use YYYY:mm:dd) in IPTC:DateCreated (ValueConvInv)
Writing XMP-iptcExt:Headline if tag exists
Writing XMP-photoshop:Headline if tag exists
Writing IPTC:Headline
Writing MIE-Doc:Keywords
Writing PDF:Keywords if tag exists
Writing PostScript:Keywords
Writing Keys:Keywords if tag exists
Writing XMP-acdsee:Keywords if tag exists
Writing XMP-pdf:Keywords if tag exists
Writing XMP-xmp:Keywords if tag exists
Writing IPTC:Keywords
Rewriting C:/Users/David/Pictures/Exiftools-Test/U - Copy/Last, First  (1234) 2345.tif...
  Editing tags in: IFD0 IPTC Keys MIE-Doc PDF PostScript TIFF XMP
  Creating tags in: IFD0 IPTC MIE-Doc PostScript TIFF XMP
  FileType = TIFF
  FileTypeExtension = TIF
  MIMEType = image/tiff
  Rewriting IFD0
  Rewriting XMP
    - XMP-dc:Creator = 'First  Last'
    + XMP-dc:Creator = 'First  Last'
  Rewriting IPTC
    - IPTC:Keywords = 'Description'
    + IPTC:Keywords = 'Description'
    - IPTC:Headline = '3456'
    + IPTC:Headline = '3456'
  Copying 1536 image data blocks


And here is the line from the csv:


SourceFile,DateCreated,Headline,Keywords,Creator
"C:\Users\Name\Pictures\exiftools-test\U - Copy\Last, First (1234) 2345.tif",11/18/2004,3456,,First  Last


What am I missing?  Thanks.

Phil Harvey

There is no IPTC tag called "Creator".  And your date is formatted incorrectly.

Since you think only Creator is being written, I think you may want to write XMP, not IPTC.  See the XMP tags documentation for a list of available XMP tags.  Prefix the tag names in the first row of the CSV with "XMP:" to write the XMP tags.

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