Image-ExifTool - Script to write text file content to exif as keywords

Posted on Mon May 7 23:07:49 2007 by towsonu2003
Script to write text file content to exif as keywords
Hi,

I was using GQView and adding keywords. The minute I was done adding keywords 3000+ images, I learned that the program doesn't write to exif or anything, it write the information to a separate file. Oops :)

Now, I would like to transfer the contents of the file into the exif of each image I have, without risking to lose the image of course. I'm using linux.

here is how a directory looks:
.metadata (directory)
Image.jpg (picture)

here is how the .metadata directory looks like:
Image.jpg.meta (text file)

here is how the Image.jpg.meta textfile looks like:
#GQview comment (2.0.1)

[keywords]
image
keyword1
keyword2

[comment]

#end

Now, I need to write the words under [keyword] into the exif of the Image.jpg. Is there a way to this with some script? If so, can you help me with that script. thanks :)
Direct Responses: 5074 | 5078 | Write a response