Remove EXIF Metadata from Photos with exiftool
Sometimes, it is a good idea to scrub EXIF metadata from photos before sharing them, and there is no better tool for the job than exiftool. The command below nukes all EXIF metadata in a photo in one fell swoop (replace foo.jpg with the actual file name):
exiftool -all= foo.jpg
This command removes EXIF metadata from the specified photo, but what if you need to process multiple photos? Then you can use the following command which cleans all the photos in the current directory:
for i in *.jpg; do echo "Processing $i"; exiftool -all= "$i"; done
Instead of purging all EXIF metadata from a photo, you can also remove individual fields. For example, the following command can come in handy when you need to remove geographical coordinates embedded in the photo:
exiftool -geotag= foo.jpg
And the command below can help you to remove geotags from multiple photos in one go:
for i in *.jpg; do echo "Processing $i"; exiftool -geotag= "$i"; done
other geographical data...One of my camera stores GPS data in a different tag, so I use
[code]exiftool -gps:all= *.jpg[/code]
to remove the information
ExifTool processes directoriesYou can specify a directory name in an ExifTool command:
exiftool -all= SOME_DIRECTORY
And add a -r option to recursively process subdirectories too.
This will process any type of file that is writable by ExifTool, but if you only want to process jpeg images, add "-ext jpg" and maybe "-ext jpeg" to the command. (No need to add "-ext JPG" because the -ext option is case insensitive).
More info on exiftoolNote that exif tool does accept wildcards so for the sort of thing that many people need:
exiftool -r -overwrite_original -P -all= -copyright="My Name" *.jpg *.jpeg *.JPG
Might be more to the point.
Lennart Poettering wants to change the way Linux developers talk to each other.
Enterprise giant frees itself from ink and home PCs (and visa versa).
Mozilla’s product think tank sinks silently into history.
TODO group will focus on open source tools in large-scale environments.
New tool will look like GParted but support a wider range of storage technologies.
New public key pinning feature will help prevent man-in-the-middle attacks.
Carnegie Mellon researchers say 3 million pages could fall down the phishing hole in the next year.
The US government rolls new best-practice rules for protecting SSH.
Klaus Knopper announces the latest version of his iconic Live Linux system.
All websites that use these popular CMS tools could be vulnerable to denial of service attacks if users don't install the updates.