|
Hi Heiko,
You can only use %f, %d and %e where a filename would be expected,
so they can't be used to set the description. Instead, you must use
a command like this:
exiftool "-xmp:Description<filename" *.*
but this command will also write the file extension. If you don't want
the extension, you must create a user-defined tag to strip it off.
Luckily, this is one of the example tags defined in the
sample
config file. So after installing the config file, you have a new
"basename" tag which can be used to do what you want:
exiftool "-xmp:Description<basename" *.*
Also, I would recommend using "." (the current directory) instead of
"*.*" (all files in the current directory), because then exiftool won't
try to process files with unknown extensions (and subdirectories
containing a "." in the name).
- Phil
|