How can I recursively remove the EXIF info from several thousand JPG files?
|
The other ExifTool suggestions are great if you want to remove or change specific sections. But if you want to just remove all of the metadata completely, use this (from the man page):
You could also use jhead, with the -de flag:
Note that in both cases, EXIF is only one type of metadata. Other metadata sections may be present, and depending on what you want to do, both of these programs have different options for preserving some or removing it all. For example, |
||||
|
|
|
You should look at some opensource tools like exiftool. There is a lot of option (for exif, xmp, iptc).
The only thing you should do next is to write a tiny script that lists your files (jpg) and does the stuff. To remove the content of a field you'll have to set it to " ^" ; like the following example:
|
||||
|
|
|
Vincent's suggestion of using exiftool is good. I suggest you write a script that accepts a single argument of a filename, and runs your desired strip functions on that. Then use
Say you save this as
Edit: After seeing mattdm's answer about the argument for striping all tags, I figure you can skip the script and just use the find like this:
|
||||
|
|