Image-ExifTool - Re: Deleting all but a few tags

Posted on Mon Mar 31 05:31:59 2008 by pauljsolomon in response to 7483 (See the whole thread of 11)
Re: Deleting all but a few tags
I am writing a script similar to the above to republish files (e.g. *.jpg) with some of the EXIF data and copyright data.

A few questions:

1. Is there an easier way to do this without looping thru all the files in the script (e.g. using the -r flag)?
2. The command below seems to produce unreadable canon raw (.cr2) files. What is wrong with this command for .cr2 files?

exiftool -all= \ -TagsFromFile @ \ -make \ -model \ -exposuretime \ -aperturevalue \ -flash \ -iso \ -lens \ -focallength \ -orientation \ -datetimeoriginal \ -copyright \ -copyrightNotice \ -Creator \ -usageterms \ -XMP-photoshop:authorsPosition \ -XMP-xmpRights:marked \ -CreatorContactInfoCiEmailWork \ -CreatorContactInfoCiTelWork \ original_file.jpg \ -o publish_file.jpg


thanks
-paul.
Direct Responses: 7531 | Write a response