ExifTool Forum

ExifTool => Newbies => Topic started by: mcquiff on January 25, 2013, 11:23:25 AM

Title: Very new simple task IPTC CaptionWriter OSX
Post by: mcquiff on January 25, 2013, 11:23:25 AM
I'm going to add this into an applescript, but I just need to know how to form this?

I want to add the caption/description writer as "Matt_thats_me" to it without effecting anything else in the file.

the file is call image 1 and is on the desktop.

How would i write this in terminal?

Please
Title: Re: Very new simple task IPTC CaptionWriter OSX
Post by: Phil Harvey on January 25, 2013, 01:22:05 PM
The command looks like this (assuming that it is the XMP-photoshop:CaptionWriter tag that you want to write -- if it isn't, see FAQs 2 and 3 (https://exiftool.org/faq.html)):

exiftool -captionwriter="Matt_thats_me" ~/Desktop/"image 1.jpg"

Here I have assumed that the image has extension ".jpg".

- Phil
Title: Re: Very new simple task IPTC CaptionWriter OSX
Post by: mcquiff on January 25, 2013, 04:02:01 PM
Excellent, many thanks!

Any reason why it leaves a duplicate on the desktop?  Can that be removed from within terminal?
Title: Re: Very new simple task IPTC CaptionWriter OSX
Post by: Phil Harvey on January 25, 2013, 09:15:59 PM
By default, ExifTool creates a "_original" backup of the file.  You can add the -overwrite_original option to the command line if you don't want this.

- Phil