As always, in Ubuntu it’s a piece of cake with
sudo apt-get install exiv2.
Adjusting Exif Date/Time
exiv2 ad -a [-]HH[:MM[:SS]] file does the job.
For example, my camera was still on DST when I shot my new year’s fireworks pictures, which made them appear as if they were shot at 1 AM. Thus, I ran the command
exiv2 ad -a -1 *.JPG to fix it.
Using a Command File
I use a file named exif-copyright-2010.txt (and another one for 2009 etc.) with just two lines in it, which I apply instantly when grabbing pictures from my camera. This file contains the following lines.
add Exif.Image.Artist Ascii "My name" add Exif.Image.Copyright Ascii "Copyright © 2010 My name"
This can be applied using
exiv2 -m /somewhere/exif-copyright-2010.txt file. I used to mess about with batch processing in graphical applications — which worked fine — but this is much faster.
You can read more about all of this on the official website.