All Posts by Date or last 15, 30, 90 or 180 days.
also by Lloyd: diglloyd.com photography and WindInMyFace.com
Thank you for purchasing through links and ads on this site.
OWC / MacSales.com...
diglloyd B&H Deal Finder...
Buy other stuff at Amazon.com...
Capacities up to 56TB and speeds up to 1527MB/s
877-865-7002
Today’s Deal Zone Items... Handpicked deals...
$4499 $3499
SAVE $1000

$1399 $1049
SAVE $350

$1278 $899
SAVE $379

$1498 $998
SAVE $500

$1999 $1899
SAVE $100

$2797 $2597
SAVE $200

$280 $250
SAVE $30

$649 $449
SAVE $200

$7595 $5995
SAVE $1600

$799 $499
SAVE $300

$249 $219
SAVE $30

$1699 $1149
SAVE $550

$21999 $19999
SAVE $2000

$8399 $7599
SAVE $800

$1149 $799
SAVE $350

$260 $180
SAVE $80

$4998 $4298
SAVE $700

$569 $519
SAVE $50

$899 $799
SAVE $100

$883 $633
SAVE $250

$1299 $949
SAVE $350

$1699 $1149
SAVE $550

$1199 $1149
SAVE $50

OWC Envoy Pro EX SSD
Blazingly fast Thunderbolt 3 SSD!

Up to 4TB capacity, USB-C compatible.

USB-C model also available


Great for travel or for desktop!

How to Fix Damaged File Dates (RAW or JPEG or movies) with exiftool

Since the macOS Finder destroys file dates when moving files from one volume to another, I needed a fix for the thousands of images whose metadata had been destroyed.

I considered writing code to do so, and might still do so because for a few reasons. But for now I wanted a fix for the wanton destruction wrought by Apple Core Rot.

UPDATE: the easier/better way for most users to do this fix is to Use Graphics Converter to Fix Image File Dates.

This solution works at the command line.

Step 0: make a backup first, or three

This goes without saying when running wholesale changes: make a backup or three.

As with any wholesale data change, I strongly recommend using diglloydTools IntegrityChecker to validate data.

Use IntegrityChecker first to update all files, then backup, then verify the backup, then after using exifool, verify again; IntegrityChecker should detect and report “HASHES_MATCH_DATE_CHANGED” for all files for which the dates were updated.

Step 1: download and install exiftol.

Download and install MacOS package for exiftool:

https://www.sno.phy.queensu.ca/~phil/exiftool/

Step 2: run exiftool

This has to be done in Terminal at the command line.

First, open a Terminal window eg /Applications/Utilities/Terminal.

I’ll give several examples—lines starting with a # are comments.

Example using exiftool

  • The quotes shown are straight quotes and are critical; do not omit the quotes.
  • The change will fail on locked DNG files.
# Example #1: change to desired directory/folder, change all items recursively
cd <directory-containing-affected-files>
exiftool "-DateTimeOriginal>FileCreateDate" -v -r . # Example #2: change all items on a volume name "Master", recursively exiftool "-DateTimeOriginal>FileCreateDate" -v -r "/Volumes/Master"

If it desired to set both the file creation and the file modification date to "DateTimeOriginal", substituted "FileModifyDate" for "FileCreateDate" in the commands above. This might or might not be desirable, e.g., when a file actually has been modified but has not had this date destroyed by the macOS Finder bug.

Roland Van B writes

Maybe this is related: Moving mail with apple mail from one mailbox account to another account (@icloud to @outlook) resulted into changed mail dates (move date). Doing this task with MS outlook software does work correctly by keeping the original dates.

MPG: hard to say since Apple Mail is the buggiest software I use.

Andreas Y writes:

I’m surprised you’re not looking at ZFS with your interest in data integrity. All the data that I care about resides on ZFS volumes attached to a Linux server. ZFS on MacOS is an active project.

MPG: doesn’t have any data integrity on backups, will surely cause compatbility issues, is a massive memory hog, is not immune from bugs, is a DIY unsupported thing—science fair stuff until officially supported. As for data integrity, IntegrityChecker is far more useful and general solution that is cross platform, cross file-system, and works on originals and backups and readwrite and read-only archival volumes.

OWC Thunderblade Thunderbolt 3 SSD

Blazing fast, up to 16TB.

YEE HAH!



√ No more slow and noisy hard drives!
OWC Envoy Express

World’s first Thunderbolt 3 M.2 NVME SSD enclosure.

Super fast, bus-powered, 3.3 oz, DIY easy, rugged and compact!


See also OWC Express 4M2
√ No more slow and noisy hard drives!
OWC Accelsior 4M2 PCIe SSD
6000 MB/sec!
Mac or PC.


Ideal for Lightroom, Photoshop, video.
Capacity up to 16TB!
View all handpicked deals...

Sigma 28mm f/1.4 DG HSM Art Lens for Nikon F
$1399 $1049
SAVE $350

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2020 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__