ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: teomat on March 14, 2016, 05:24:01 AM

Title: Export, modify and import metadata with csv
Post by: teomat on March 14, 2016, 05:24:01 AM
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
Title: Re: Export, modify and import metadata with csv
Post by: Phil Harvey on March 14, 2016, 07:30:03 AM
Hi Matteo,

Try adding the -overwrite_original option when writing.

- Phil
Title: Re: Export, modify and import metadata with csv
Post by: teomat on March 14, 2016, 08:34:59 AM
Hi Philip,

thank you very much for the answer: it works!

Matteo