Author Topic: Newbie Command line problem IPTC  (Read 2444 times)

sanddancer

  • Newbie
  • *
  • Posts: 2
Newbie Command line problem IPTC
« on: February 01, 2011, 11:44:20 AM »
I just installed the latest version and am having a problem writing any IPTC data to my files.
Am I missing a trick?

Command lines are:

E:\Test>exiftool.pl -Caption="Purchase 3M Waste Pipe from www.discountedheating.co.uk" -m -o updated/ 3m-Waste-Pipe-4994.jpg
    1 image files created

E:\Test>exiftool.pl -IPTC:Caption="Purchase 3M Waste Pipe from www.discountedheating.co.uk" -m -o updated/ 3m-Waste-Pipe-4994.jpg
Warning: Tag 'IPTC:Caption' does not exist
    1 image files copied

E:\Test>exiftool.pl -XMP:Caption="Purchase 3M Waste Pipe from www.discountedheating.co.uk" -m -o updated/ 3m-Waste-Pipe-4994.jpg
    1 image files created

The first and last create the Caption in XMP

e.g
Code: [Select]
<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?>
<x:xmpmeta xmlns:x='adobe:ns:meta/' x:xmptk='Image::ExifTool 8.47'>
<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>

 <rdf:Description rdf:about=''
  xmlns:acdsee='http://ns.acdsee.com/iptc/1.0/'>
  <acdsee:caption>Purchase 3M Waste Pipe from www.discountedheating.co.uk</acdsee:caption>
 </rdf:Description>
</rdf:RDF>
</x:xmpmeta>
The second one makes no change at all.

Start Image attached


Thanks in advance

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 14896
    • ExifTool Home Page
Re: Newbie Command line problem IPTC
« Reply #1 on: February 01, 2011, 11:51:16 AM »
The problem is simple:  The IPTC tag is named "Caption-Abstract", not "Caption".

When in doubt, check the IPTC Tag Name documentation.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

sanddancer

  • Newbie
  • *
  • Posts: 2
Re: Newbie Command line problem IPTC
« Reply #2 on: February 01, 2011, 11:58:41 AM »
!! Doh !!

Thanks Phil, had tried that earlier when i had other errors using the windows  .exe version, but didnt go back to it once i installed the perl version.

Best regards
Graeme


Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 14896
    • ExifTool Home Page
Re: Newbie Command line problem IPTC
« Reply #3 on: February 01, 2011, 12:51:22 PM »
Hi Graeme,

One more point: I should have maybe asked if you really want to be writing XMP-acdsee:Caption.  The XMP analogue to IPTC:Caption-Abstract is XMP-dc:Description.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).