Feeds:
Posts
Comments

Archive for August, 2011

Jhead: edit exif information

Sometimes you want to edit the exif information of your images, e.g., Jpeg files. How to do so in Linux command line? This is an important question if you have to do something for many files. For instance, you have to correct the date of a lot of images since your camera had a wrong date. Jhead is an interesting program that does the job properly. Some simple applications:

If the image has no exif information, you can create an exif header
$jhead -mkexif file.jpg

changing the exif date
$jhead -ds2009:07:05  file.jpg

change the file time to Exif time
$jhead -ft *.jpg

add a comment
$jhead -cl “It was a nice photos” file.jpg

Hopefully this makes life easier for Linux users.

Advertisements

Read Full Post »