Copy Windows Comment to Title Tag

Started by noelH, March 29, 2012, 03:28:34 AM

Previous topic - Next topic

noelH

Hi to all
I have Windows Vista :o and some of my Pics have text in the Title tag (which has come from the Windows Photo Gallery- Caption) and then there is other text in the Comment tag. I am wishing to join the to together and have both the same. it would be copy the text from the title tag and add it to the Comment tag, then clear the title tag, and replicate the comment text into the Title tag. I have worked out how to copy the from one tag to the next, but not the joining of the two tags together.
In advance thanks for any help and guidance.
From Australia, and a rain soaked Sydney

Phil Harvey

Use this command to do what you want:

exiftool "-title<$comment $title" "-comment<$comment $title" FILE

Where the FILE is the file name.  (Mac/Linux users use single quotes instead of double in commands like this)

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