ExifTool Forum

ExifTool => Newbies => Topic started by: colink on May 18, 2018, 01:54:48 PM

Title: How to specify MWG in a CSV file to write data
Post by: colink on May 18, 2018, 01:54:48 PM
Hi

I have read the MWG information here:
https://exiftool.org/TagNames/MWG.html (https://exiftool.org/TagNames/MWG.html)

I am trying to write several fields using MWG - but will jsut use one example here:
CreateDate

Using a CSV export as an example - to sue as import I ahve
ExifIFD:CreateDate
and
IPTC:DateCreated

How do I edit my CSV file to write this data to all relevant locations?

I do not know if I need something like
MWG:CreateDate

or if I use one of the examples above (IPTC or EXIF) and end my command with  -use MWG
like I found in another thread - as below.

exiftool -csv=embed_API.csv . –sep ", "  -P -overwrite_original_in_place -r -v2 -use MWG

Thanks ColinK

StarGeek edit: Fixed link
Title: Re: How to specify MWG in a CSV file to write data
Post by: Phil Harvey on May 18, 2018, 04:10:05 PM
Hi Colin,

The CSV will look something like this:

SourceFile,MWG:CreateDate
test.jpg,2018:05:18 16:09:15


and the command would be:

exiftool -use mwg -csv=test.csv test.jpg

- Phil