How to specify MWG in a CSV file to write data

Started by colink, May 18, 2018, 01:54:48 PM

Previous topic - Next topic

colink

Hi

I have read the MWG information here:
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

Phil Harvey

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