Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
becki:linux:graphics_processing [2017-11-19 14:43] becki [Resizing] |
becki:linux:graphics_processing [2019-11-06 09:45] (aktuell) becki [Set the Exif create timestamp] |
||
---|---|---|---|
Zeile 5: | Zeile 5: | ||
jhead is available at www.slackbuilds.org. The manual for jhead is [[http://www.sentex.net/~mwandel/jhead/usage.html|here]]. | jhead is available at www.slackbuilds.org. The manual for jhead is [[http://www.sentex.net/~mwandel/jhead/usage.html|here]]. | ||
+ | ===== Set the Exif create timestamp == | ||
+ | |||
+ | exiv2 --Modify "set Exif.Photo.DateTimeOriginal 2019:10:07 09:51:18" image.jpg | ||
+ | | ||
+ | Useful mainly when the timestamp is missing (e.g. in images coming from Whatsapp). | ||
+ | |||
+ | List of the exif [[https://www.exiv2.org/tags.html|tags]] | ||
===== Rename files and set file timestamps according to the Exif create timestamp == | ===== Rename files and set file timestamps according to the Exif create timestamp == | ||
- | exiv2 mv -t *.jpg | + | exiv2 -t mv *.jpg |
===== Read all Exif Data == | ===== Read all Exif Data == | ||
Zeile 17: | Zeile 24: | ||
===== Adjust Exif Timestamp == | ===== Adjust Exif Timestamp == | ||
- | exiv ad FIXME | + | <code bash> |
+ | # Add one hour to the timestamp: | ||
+ | exiv2 -a '+01' adjust *.jgp | ||
+ | # Sub 30 minutes from the timestamp: | ||
+ | exiv2 -a '-00:30' adjust *.jgp | ||
+ | </code> | ||
+ | |||
+ | ==== old == | ||
jhead -da <to_time>-<from_time> *.jpg | jhead -da <to_time>-<from_time> *.jpg | ||
Zeile 42: | Zeile 57: | ||
jhead -cl 'comment text' image.jpg - Insert Comment directly | jhead -cl 'comment text' image.jpg - Insert Comment directly | ||
+ | ===== Delete comment == | ||
+ | |||
+ | exiv2 --Modify "del Exif.Photo.UserComment" *.jpg | ||
===== Rotate an Image == | ===== Rotate an Image == | ||