Export, modify and import metadata with csv

Started by teomat, March 14, 2016, 05:24:01 AM

Previous topic - Next topic

teomat

Dear all,

I've got a large number of folders into a parental folder and every folder contain 3 TIFF file. I'd want to export in csv the metadata of whole images, after that modify the csv file and then import the metadata.

With this code I export the metadata:

exiftool -csv -iptc:all -r /parental/folder > metadati.csv


it works, but appears this message of error: "Warning: [minor] Fixed incorrect URI for xmlns:MicrosoftPhoto ...".
After modification of CSV file, I try this:

exiftool -csv=/parental/folder/metadati.csv /parental/folders -r


after the running, I notice that in every folder the programm write the metadata, but now there are copies of every image (e.g.: imageXY.TIFF and imageXY.TIFF_original), and I don't know the reason: I'd like to overwrite the metadata, but I don't want to create a copy of every image.
Thank you in advance,

Matteo

Phil Harvey

Hi Matteo,

Try adding the -overwrite_original option when writing.

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

teomat

Hi Philip,

thank you very much for the answer: it works!

Matteo