[Originally posted by andoid on 2009-04-12 22:34:04-07]
I am using: exiftool "-IPTC:Caption-Abstract<filename" *.jpg
Is there away to prevent the .jpg from being copied to the caption?
For example: I want to give the file "Jenn at the Lake.jpg" the caption "Jenn at the Lake" for use in Picasa.
Is there a way to do this?
Thank you very much,
Andoid
[Originally posted by exiftool on 2009-04-12 23:54:24-07]Hi Andoid,
This is exactly what the BaseName tag does in the example user-defined
tags of the sample config file. See the
config
file documentation for details. The sample config file comes with
the full exiftool distribution.
Let me know if you have any problems with this.
- Phil
[Originally posted by andoid on 2009-04-13 02:27:02-07]
Phil,
Thank you for your quick response. That information helps and is encouraging. I don't have any perl experience. I am assuming I can just copy the config file into my home directory and modify my .bat file. Can you give me an example of how I would use the BaseName tag to remove the ".jpg" extension when copying the filename to the metadata. I am using exiftool.exe (without the -k, 7.13) on windows and the contents of my batch file is: exiftool "-IPTC:Caption-Abstract<filename" *.jpg
Thanks so much,
Andoid
[Originally posted by exiftool on 2009-04-13 10:56:13-07]Hi Andoid,
You just copy the file to your home directory or the
directory containing exiftool and rename it to ".ExifTool_config".
Then the command line is
exiftool "-iptc:caption-abstract<basename" FILE
- Phil
[Originally posted by andoid on 2009-04-13 15:01:49-07]
Phil,
Thanks for all your help. Exiftool is an awesome tool and did exactly what I needed it to. It resolved the shortcoming of Google's Picasa!!!
This is the line I ended up using: exiftool "-iptc:caption-abstract<basename" -r -ext .jpg *
Thanks again,
Andoid