If you thinking of removeim EXIF Metadata from your images under linux you can use exiftool for that… i will show you how to install exiftool in CentOS and how to use that tool. First of all you have to install tool with this simple command:
yum install perl-Image-ExifTool
And if everything goes fine, you can start using this awesome tool. For example you can use this command to remove all metadata fron your folder:
exiftool -all= /your/imagesfolder/*.jpg
This will remove metadata from all jpg images in folder.
Also you can use this tool to remove other individual filed like this..
exiftool -geotag= image.jpg
This command will remove geographical coordinates embedded in the photo. You can also use gps or other info that your image have stored inside. And yes, you can use -r for recursively process subdirectories too.