http://blog.techfun.org/how-to-remove-exif-data-from-jpeg-files-in-ubuntu http://blog.techfun.org/?p=1973 Most modern digital cameras and cell phone cameras add metadata to the images they create using the Exchangeable Image File Format standard. That information can be very useful for you when you need to know exactly when, or in some cases even where, a photograph was taken. That information, however, may be more than you want to share when you decide to place photographs online. Luckily, there is a very easy way to remove this data in Ubuntu.
A single image taken with a camera like my Android G1 can contain a lot of information as shown below:
 EXIF Information from an Android G1 Photo
Removing EXIF Data in Ubuntu
This is a quick and easy way to remove EXIF data from JPG files from a Bash prompt in Ubuntu or other Debian derived versions of Linux. This method will let you remove the EXIF date from all images in a directory.
First, install the jhead package via apt-get. Open a terminal window and type:
sudo apt-get install jhead
After jhead is installed you may want to review all the ways you can use this powerful tool by typing:
man jhead
You can use jhead to add/remove/modify information in JPG files but for now, all we are going to do is strip out all the information from the file that is not needed to render the image itself. This may be more than you feel you need but it will give you the most privacy that I know how to provide.
To remove all EXIF info from a single image just open a terminal window and type:
jhead -purejpg /path/to/image.jpg
You can also use wild cards so you can use:
jhead -purejpg /path/to/*.jpg
or
jhead -purejpg /path/to/*.JPG
Since the jhead tool only acts on jpeg files you can do an entire directory of files – regardless of the case of the file extension using xargs like this:
ls | xargs jhead -purejpg
from within the directory of photos. |