Exif-Information in jpg-files
Exif-Header is a place inside a jpg-file (and some other formats) where additional information is stored. Reading and Manipulating them in Linux on Commandline is the topic of this page. I did on Ubuntu, but most of this tools are available on each distro and need to be installed cause they are not part of standard-ubuntu.
exiv2: easy adjust timestamps and other things
Easy reading and easy manipulation of timestamps and many other information. Specifies in most common tasks like adjusting timestamps, renaming files using some templates including the timestamp and can include/extract something called sidecar :)
read the exif-information:
exiv2 IMG.JPG
modify timestamps:
exiv2 ad -a HH:MM:SS -D DAYS -o MONTH -Y YEARS IMG.JPG
at least one of this options need to be specified. Of course negative numbers can be applied.
exifautotran: rotate images according to rotation-flag
exifautotran *.JPG
exiftool
The most powerful tool for manipulation of exif-stuff. Read the man-page if you need to do things that exiv2 cannot do.



