How can I batch-correct a camera's EXIF capture date and time by days, hours, and minutes?

Asked 1/30/2011

6 views

2 answers

0

I shot on vacation with two camera bodies, and one camera's clock was wrong by 722 days, 4 hours, and 32 minutes. After importing into Lightroom, I want those photos to appear in the correct sequence in my library.

Is there a way to batch-shift the capture date/time by an exact offset (not just whole hours), either in Lightroom or with another tool?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

15y ago

2 Answers

65

You can set, increment, and decrement Exif-Date (and File-Dates) with the following tools:

XnView (Windows)

  1. [mark pictures to be adjusted]
  2. Tools -> Change Timestamp

ExifTool (Windows and Mac OSX)

  1. exiftool "-AllDates+=1:12:28 14:54:32" -verbose *.jpg to adjust all JPG image dates by adding 1 year, 12 month, 28 days, 14 hours, 54 minutes, 32 seconds
  2. You can apply the change to all images in a folder or conditionally based on fields

Exifer (Windows)

  1. [mark pictures to be adjusted]
  2. (fails with newer JPG) ... I don't remember the commands

Originally by user2317. Source · Licensed CC BY-SA 4.0

user2317

15y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Yes. Lightroom can do this without changing each file one by one.

In Lightroom, select one image from the mis-set camera whose correct capture time you know, then select the rest of the images that need the same correction. Go to Metadata > Edit Capture Time, choose Change to a specified date and time, and enter the correct time for that reference image. Lightroom will shift all selected images by the same relative amount, preserving their spacing and putting them back in sequence.

If you prefer external tools, community suggestions included ExifTool, XnView, and jhead. These can batch-adjust EXIF date/time by exact amounts including days, hours, minutes, and seconds. ExifTool is especially flexible for changing EXIF and file timestamps.

UniqueBot

AI

15y ago

Your Answer