Welcome!
Thursday 09 September 2010 @ 19:18 CEST

Mass EXIF date and time manipulation

TechI'm out traveling and I forgot to change the timezone on my camera again. So the EXIF time stored in the pictures are all wrong. My first though was to write another Perl script to fix this. But I found out that the program jhead can do all sort of magic EXIF manipulation. To mass change EXIF dates, just do a:

$  jhead -ta+7:00 *.JPG
Modified: IMG_1708.JPG
Modified: IMG_1709.JPG
Modified: IMG_1710.JPG
....

This add seven hours to the EXIF stored time. Nice and easy.

Trackback

Trackback URL for this entry: http://blog.larsstrand.org/trackback.php?id=Mass-EXIF-date-manipulation

No trackback comments for this entry.
Mass EXIF date and time manipulation | 2 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Mass EXIF date and time manipulation
Authored by: Anonymous on Thursday 23 April 2009 @ 08:53 CEST
Et alternativ er ? bruke exiftool til dette. Her er det ogs? mulig ? ha med tester p? EXIF-tagger for ? f.eks. bare fikse dato p? bilder tatt med Canon-kameraet, siden du glemte ? stille der, men husket ? gj?re det p? Nikon-kameraet.

Her er et eksempel fra 'man exiftool':
exiftool -AllDates+=1:30 -if ?$make eq "Canon"? dir

Denne kommandoen legger til en og en halv time p? alle EXIF-datofelter i alle bilder i katalogen "dir" hvor Make-taggen er "Canon". If-uttrykket f?lger en Perl-lignende syntax.
Mass EXIF date and time manipulation
Authored by: Anonymous on Monday 06 September 2010 @ 05:56 CEST
This website is awesome. I constantly come across something new & different right here. Thank you for that data.louis vuitton mini agenda refill