The DAM Forum
Welcome, Guest. Please login or register.
October 24, 2014, 07:40:56 AM

Login with username, password and session length
Search:     Advanced search
28019 Posts in 5139 Topics by 2910 Members
Latest Member: kbroch
* Home Help Search Login Register
+  The DAM Forum
|-+  Software Discussions
| |-+  Scripting
| | |-+  how to exiftool profiles?
« previous next »
Pages: [1] Print
Author Topic: how to exiftool profiles?  (Read 4556 times)
wolf
Newbie
*
Posts: 8


View Profile
« on: November 12, 2009, 01:13:23 PM »

Hi,

after I have the jpegs ready for my customer I would like to strip all metadata but the following
.) Color Profile
.) Copyright Notice
The reason: Normally there is no reason to transfer the serial number of your camera, the camera type, the lens used, the aperture used etc. to the rest of the world

Right now, I strip all the data with a command like
exiftool -overwrite_original -all='' my.jpg
which works fine. Everything but the picture is gone. Then I reassign the profile and the copyright data. I am sure there is a better way and to leave these two things in the file in the first place.

Regards Wolf
Logged
PhilHarvey
Newbie
*
Posts: 6


View Profile
« Reply #1 on: November 13, 2009, 07:48:17 AM »

You can exclude an entire group from a mass deletion, but individual tags must be copied back again.  Like this:

exiftool -all= --icc_profile:all -tagsfromfile @ -copyright my.jpg
Logged
wolf
Newbie
*
Posts: 8


View Profile
« Reply #2 on: November 13, 2009, 09:37:55 AM »

wow, thanks!
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!