Modify jpeg EXIF picture data: Difference between revisions
From WickyWiki
m 8 revisions |
|||
| Line 38: | Line 38: | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
jhead -mkexif *.jpg | |||
jhead -dsft *.jpg | jhead -dsft *.jpg | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 06:13, 31 July 2014
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 -mkexif *.jpg jhead -dsft *.jpg