1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 21:22:06 +02:00
tldr/pages/linux/jhead.md
Andreas Diesner 11ada1bc24
jhead: add page (#12001)
* jhead: add page

add german translation

* jhead: fix wording

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>

---------

Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
2024-01-05 14:56:16 +01:00

923 B

jhead

Image timestamp and EXIF data manipulation. More information: https://www.sentex.net/~mwandel/jhead/usage.html.

  • Show all EXIF data:

jhead {{path/to/image.jpg}}

  • Set the file's date and time to the EXIF create date (file creation date will be changed):

jhead -ft {{path/to/image.jpg}}

  • Set the EXIF time to the file's date and time (EXIF data will be changed):

jhead -dsft {{path/to/image.jpg}}

  • Rename all JPEG files based on the EXIF create date to YYYY_MM_DD-HH_MM_SS.jpg:

jhead -n%Y_%m_%d-%H_%M_%S *.jpg

  • Rotate losslessly all JPEG images by 90, 180 or 270 based on the EXIF orientation tag:

jhead -autorot *.jpg

  • Update all EXIF timestamps (Format: +- hour:minute:seconds) (example: forgot to change the camera's time zone - removing 1 hour from timestamps):

jhead -ta-1:00:00 *.jpg

  • Remove all EXIF data (including thumbnails):

jhead -purejpg {{path/to/image.jpg}}