Table of Contents
From jhead man page:
The "-te file" option from jhead can be used to transplant Exif header from a JPEG (with Exif header) in file into the image that is manipulated. This option is useful if you like to edit the photos but still want the Exif header on your photos. As most photo editing programs will wipe out the Exif header, this option can be used to re-copy them back from original copies after editing the photos.
This option uses a 'relative path', which is useful for doing a batch of photos at a time. For example, if you have a directory full of digital camera photos, before editing them, you could copy them into the subdirectory 'originals'. Then edit them. After editing, you can put the original Exif headers back in to the whole directory of images at a time using the incantation:
jhead -te originals/&i *.jpg
documented on: 2007.06.17