Modify jpeg EXIF picture data

From WickyWiki
Revision as of 07:25, 5 July 2013 by Admin (talk | contribs) (8 revisions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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