Concatenating Fields

Started by MrPhil, May 14, 2024, 01:10:17 PM

Previous topic - Next topic

MrPhil

Sorry, but I should be able to get this to work - but I can't. Maybe I need more coffee

I want to concatenate two fields into one...

Destination field - ImageDescription

Source Fields - IPTC.ObjectName  and IPTC.Caption-Abstract

exiftool "-ImageDescription<$ObjectName $Caption-Abstract" {file}
I get the error:

Warning: No writable tags set from {file}
    0 image files updated
    1 image files unchanged

I know I am doing something silly, but I can't see it

Thanks


StarGeek

Do both tags exist?  What OS are you using?

The command you gave works in Windows CMD as long as both ObjectName and Caption-Abstract. If one of them doesn't exist, then you should get a warning like
Warning: [minor] Tag 'Caption-Abstract' not defined

If you are not using Windows CMD, then change the double quotes into single quotes.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

MrPhil

That was it :-)

MacOS - Changed the double-quotes to single-quotes.

Many thanks

Phil