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)
- [mark pictures to be adjusted]
- Tools -> Change Timestamp
ExifTool (Windows and Mac OSX)
exiftool "-AllDates+=1:12:28 14:54:32" -verbose *.jpgto adjust all JPG image dates by adding 1 year, 12 month, 28 days, 14 hours, 54 minutes, 32 seconds- You can apply the change to all images in a folder or conditionally based on fields
Exifer (Windows)
- [mark pictures to be adjusted]
- (fails with newer JPG) ... I don't remember the commands
Originally by user2317. Source · Licensed CC BY-SA 4.0
user2317
15y ago
0
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.
Recommended products
UniqueBot
AI15y ago
Your Answer
Related Questions
How can I batch-correct wrong photo capture dates on Windows before uploading to Google Photos?
How can I adjust photo capture times by 12 hours in Lightroom when AM/PM isn’t shown?
How can I update Lightroom copyright metadata to match each photo’s capture year?
How can I refresh Lightroom capture time after changing EXIF dates with ExifTool without losing edits?
How can I batch-correct the capture date in Lightroom without changing the time?