Stripping out metadata

Post Reply
stevehughes
Posts: 76
Joined: 19 Jan 13 3:46
Location: Brisbane, Australia

Stripping out metadata

Post by stevehughes » 11 Jun 19 8:40

Hi all,

My jpgs have been through quite a history, back and forth between a number of DAMs. As a result they have weird bits of metadata buried away in a heap of different places. I’d really like to clean this up. Can anyone suggest a way (either in PSU or some external utility) to strip out all metadata except the info that would have come over from the camera?

Mke
Posts: 453
Joined: 15 Jun 14 15:39

Re: Stripping out metadata

Post by Mke » 11 Jun 19 10:52

Try ExifTool: https://sno.phy.queensu.ca/~phil/exiftool/
...with, in Windows, ExifToolGUI if you're not keen on the command line: http://u88.n24.queensu.ca/~bogdan/

I gather that there is similar GUI software for the Mac

Hert
Posts: 5869
Joined: 13 Sep 03 7:24

Re: Stripping out metadata

Post by Hert » 11 Jun 19 13:52

In addition to Mike's reply....you can indeed use ExifTool. Use that to remove all IPTC-IIM (classic IPTC), and the XMP. Then start from there. That will only leave you with the Exif. You may have used products that also alter Exif so you can never be 100% sure that you're back to the virgin state of your metadata.
This is a User-to-User forum which means that users post questions here for other users.
Feature requests, change suggestions, or bugs can be logged in the ticketing system

snowman1
Posts: 250
Joined: 01 Jan 07 3:13
Location: UK

Re: Stripping out metadata

Post by snowman1 » 11 Jun 19 21:56

I also find geosetter quite useful for editing/stripping the metadata, it also acts as a GUI front-end to exiftool.
Snowman1
http://www.flickr.com/photos/snowman-1/
--------------------------------------

stevehughes
Posts: 76
Joined: 19 Jan 13 3:46
Location: Brisbane, Australia

Re: Stripping out metadata

Post by stevehughes » 12 Jun 19 23:32

Thanks all for the input. EXIFtool is a very powerful tool. I think I can come to grips with the command-line, limited mainly by my shallow understanding of metadata structure.

Back to Hert's suggestion, and to check my understanding, is this what you had in mind?

exiftool -all= --exif:all *.jpg

It seems to do what I expect but I'd like to check with the experts!

Thanks,
Steve

stevehughes
Posts: 76
Joined: 19 Jan 13 3:46
Location: Brisbane, Australia

Re: Stripping out metadata

Post by stevehughes » 13 Jun 19 7:51

So thanks to you folks I think I've got this pretty well cleaned up.

I started with exiftool -r -all= --exif:all *.jpg

exiftool raised errors on a bunch of files with mangled makernotes so I ran exiftool -makernotes= over those files and then re-ran the above on them.

Then I found some old tags in a field named "XP keywords", so i dumped that using exiftool -r -XPkeywords= *.jpg

I 'think' that takes care of it.

Post Reply