I have a bunch of image files of scanned slides with valid Exif timestamps for when the slide was taken (
DateTimeOriginal tag) and when it was scanned into digital form (
CreateDate tag, aka
DateTimeDigitized). I can copy the Exif data into the corresponding IPTC and XMP groups like this:
exiftool -use MWG -DateTimeOriginal<exif:DateTimeOriginal -CreateDate<exif:CreateDate imagefile.jpg
This works for most image files. However, it seems that if the image file lacks IPTC metadata, the command above doesn't write the IPTC fields. I think I read somewhere that ExifTool won't create an IPTC section in files that don't already have one, but I'm hoping that's a default I can override with a command line option or something similar. Is there?