filename basename problem

Started by jmwjmw, October 30, 2012, 01:52:16 PM

Previous topic - Next topic

jmwjmw

Hi -- I amusing exiftool 9.02 on Windows XP via the Command line. I am trying to write the base file name to a tag.

When I run the following command, I have success:

exiftool -"XMP:Title<filename" -overwrite_original c:\somepic.jpg

But when I try the next command on the same pic, I get a "No writable tags found" message:

exiftool -"XMP:Title<basename" -overwrite_original c:\somepic.jpg

Any ideas on what I am doing wrong?

thanks

Jim

Phil Harvey

Hi Jim,

The BaseName tag is not pre-defined.  It is one of the example user-defined tags in the sample config file.   If you install this config file then your command should work.  Read the comments at the start of the sample config file for instructions.

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

jmwjmw

Phil -- Worked great ... thanks for the quick reply.

Jim