jhead
Image timestamp and EXIF data manipulation. tldr-pages
On Linux
Linux
Show all EXIF data
jhead path/to/image.jpgIdentifySet the file's date and time to the EXIF create date (file creation date will be changed)
jhead -ft path/to/image.jpgIdentifySet the EXIF time to the file's date and time (EXIF data will be changed)
jhead -dsft path/to/image.jpgIdentifyRename 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 *.jpgIdentifyRotate losslessly all JPEG images by 90, 180, or 270 degrees based on the EXIF orientation tag
jhead -autorot *.jpgIdentifyUpdate 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 *.jpgIdentifyRemove all EXIF data (including thumbnails)
jhead -purejpg path/to/image.jpgIdentify