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
Hi Ed,
If you install the sample config file (https://exiftool.org/config.html) from the full exiftool distribution, then use BaseName instead of FileName in your command, you should get what you want.
- Phil
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
Hello Phil,
Problem solved. The -config file worked.
Thanks for such a great tool.
Ed Marvin
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