

That looks useful, but internally exiftool uses Perl variables for the fields/tags, and I would like to get the variable names so I can compare them later, so I added -s: exiftool -s image.jpg | grep -i dateįileModifyDate : 2021:01:14 10:51:38+00:00įileAccessDate : 2021:01:14 10:51:40+00:00įileInodeChangeDate : 2021:01:14 10:51:38+00:00

you can adapt it if it's not exactly what you meant, and.

This will push the corrected EXIF timestamp to the file modify time.I am no expert with exiftool but think I have got something that is 90% of what you want. Hopefully, your original files are available for doing this.įinally, if you have the original meta data corrected,Įxiftool "-DateTimeOriginal>FileModifyDate" DIR This will roll back all timestamps by 1 hour. So, for example, if you forgot to set your camera clock back 1 hour at the end of daylight savings time in the fall, you can fix the images with: The example above changes only the DateTimeOriginal tag,īut any writable date or time tag can be shifted,Īnd multiple tags may be written with a single command line.Ĭommonly, in JPEG images, the DateTimeOriginal, CreateDate and ModifyDate values must all be changed.įor convenience, a shortcut tag called AllDates has been defined to represent these three tags. Update: Towards working with Create and Modify times for iPhoto,ĮXIFTool notes continue at the Date/Time Shift Feature section, You need to adjust the incorrectly stamped batch to just two days forward. To fix this, put all of the images in the same directory ("DIR") and run exiftool,Įxiftool "-DateTimeOriginal+=5:10:2 10:48:0" DIR Then all of the pictures you took subsequently have timestamps that are wrong byĥ years, 10 months, 2 days, 10 hours and 48 minutes. Say for example that your camera clock was reset to 2000:01:01 00:00:00 change the "Date Picture Taken" reported by Windows Explorer). Have you ever forgotten to set the date/time on your digital camera before taking a bunch of pictures? ExifTool has a time shift feature that makes it easy to apply a batch fix to the timestamps of the images (ie.

The OS X package installs the ExifTool command-line application and libraries in /usr/bin.Īfter installing, type "exiftool" in a Terminal window to run exiftool and read the application documentation. Mac OS X Package: ExifTool-7.98.dmg (1.4 MB). I have always found Phil Harvey's EXIFTool to be fantastic. There will be quite a few tools that work on the JPEG EXIF fields.
