Concatenation?

Started by Alan Clifford, September 28, 2011, 09:07:16 AM

Previous topic - Next topic

Alan Clifford

Hi Phil and everyone else.

This seemed to work to add " and stuff" onto an existing title:

EXIFTEMP=`exiftool -s3 -title dscf1622_bbh.mov.xmp` && exiftool -title="${EXIFTEMP} and stuff" dscf1622_bbh.mov.xmp


Am I missing a simpler way of doing it just with exiftool?

Alan

Phil Harvey

Hi Alan,

This may be simpler:

exiftool '-title<${title} and stuff' dscf1622_bbh.mov.xmp

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

Alan Clifford

Thanks Phil.   I should have been able to work that out for myself - I just couldn't see it.

Alan

Alan Clifford

I just suddenly thought (it takes a day or two for these ideas to pop into my head), I could use a text editor.