ExifTool Forum

ExifTool => Newbies => Topic started by: noelH on March 29, 2012, 03:28:34 AM

Title: Copy Windows Comment to Title Tag
Post by: noelH on March 29, 2012, 03:28:34 AM
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
Title: Re: Copy Windows Comment to Title Tag
Post by: Phil Harvey on March 29, 2012, 07:28:54 AM
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