[Shotwell] How to remove metadata from photo files?

Thomas Jost schnouki at schnouki.net
Mon Oct 17 15:07:07 UTC 2011


On Mon, 17 Oct 2011 14:00:37 +0100, Dougie Nisbet <dougie at highmoor.co.uk> wrote:
> (reading your post to the end :) )- If it's just a case of being tidy, 
> you could look at jhead and exiftool. The --purejpg option for jhead 
> should in theory do it, but I've had more success with exiftool. I used 
> to use:
> 
> |exiftool -all= *
> 
> |when I was using f-spot and it didn't like certain camera headers
> 
> http://www.bluecedar.org.uk/?p=76
> 
> Dougie

Hmm, "jhead --purejpg" removes too much data (I still want to keep
date, exposure, etc.), and so does "exiftool -all=". But exiftool is a
really nice tool :)

Here is what I ended doing:

  exiftool -Subject= -Keywords= -Title= -Caption-Abstract= -Headline= **/*.[Jj][Pp][Gg]

(** is "recursive *" in zsh).

This cleaned every instance of the tags and titles in my photos, and led
me to discover a bug in Shotwell (http://redmine.yorba.org/issues/4264).
Hehe, I had to do some SQL by hand to restore missing titles from the
database :)

Thank you all for your help!

Regards,

-- 
Thomas/Schnouki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <https://mail.gnome.org/archives/shotwell-list/attachments/20111017/74decbe1/attachment.sig>


More information about the Shotwell-list mailing list