I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2010-01-04 16:14:49-08 by exiftool in response to 12093
Re: Prevent overwriting existing tags
The technique for doing this is not very intuitive and not well documented, but basically what you want to do is use the same technique as you would if you wanted to replace only a specific value:

exiftool -artist-=you -artist=me image.jpg

but in your case you want to replace the tag only if the previous value was empty:

exiftool -artist-= -artist=me image.jpg

I think this should do what you want.

- Phil
Direct Responses: 12097 | 12100 | Write a response