IPTC caption

Started by elm1430, September 02, 2010, 01:34:17 AM

Previous topic - Next topic

elm1430

Hello,

I want to copy filenames to IPTC captions.  I'm using the following:

    exiftool "-iptc:caption-abstract<filename" *.jpg

exiftool works fine but the above command copies the '.jpg' extensions too.
What command should I use to to not include extensions?

Thank you,
Ed Marvin

Phil Harvey

Hi Ed,

If you install the sample config file from the full exiftool distribution, then use BaseName instead of FileName in your command, you should get what you want.

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

elm1430

Thanks Phil,

I'm still a bit confused about which folders to use. I need to study the documentation more. No involved reply necessary at this time. But I have one small question. Is the 'dot' in -config ".ExifTool_config" significant? I assumed it is and used Windows 'rename' to insert it.

Ed

elm1430

Hello Phil,

Problem solved. The -config file worked.
Thanks for such a great tool.

Ed Marvin

Phil Harvey

Hi Marvin,

The file name is only significant (with leading dot) if the config file is being loaded automatically.  Loading it manually with the -config option you can use any file name.

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