I would like to add the camera temperature as a keyword tag in the form of:
Temperature/25 C
I use the command:
exiftool -addTagsFromFile @ "-keywords<CameraTemperature" *.jpg
which simply adds the temperature as a tag, how can I append the string: "Temperature/" ?
Try this:
exiftool "-keywords<Temperature/$CameraTemperature" -ext jpg .
But note that on Mac or Linux you must use single quotes instead of double quotes around the keywords argument due to the dollar sign.
- Phil
Thanks Phil,
Still, that command erases any existing tag. I would like to add the tag with the temp reading to the list.
No problem. To add to the existing list, use +<:
exiftool "-keywords+<Temperature/$CameraTemperature" -ext jpg .
- Phil
Thanks Phil!