Modify jpeg EXIF picture data
From WickyWiki
Install jhead
sudo apt-get install jhead
Usage jhead
Adjust 'picture taken' time one hour forward, for example when you forgot to set daylight savings time for your camera:
jhead -ta+1:00 *.jpg
Adjust 'picture taken' time back by 23 seconds, for example to get the timestamps of two camera's in sync:
jhead -ta-0:00:23 *.jpg
Rename files to YYYYMMDD-HHMMSS-originalName.jpg, using 'picture taken' time:
jhead -n%Y%m%d-%H%M%S-%f *.jpg
Sets the file's timestamp (modified date) to what is stored in the Exif header:
jhead -ft *.jpg
Sets the Exif timestamp to the file's timestamp:
jhead -dsft *.jpg