
If it desired to set both the file creation and the file modification date to "DateTimeOriginal", substituted "FileModifyDate" for "FileCreateDate" in the commands above. # Example #2: change all items on a volume name "Master", recursivelyĮxiftool "-DateTimeOriginal>FileCreateDate" -v -r "/Volumes/Master" # Example #1: change to desired directory/folder, change all items recursivelyĬd exiftool "-DateTimeOriginal>FileCreateDate" -v -r. The change will fail on locked DNG files.The quotes shown are straight quotes and are critical do not omit the quotes.I’ll give several examples-lines starting with a # are comments. This has to be done in Terminal at the command line.įirst, open a Terminal window eg /Applications/Utilities/Terminal. Step 1: download and install exiftol.ĭownload and install MacOS package for exiftool: Use Integrit圜hecker first to update all files, then backup, then verify the backup, then after using exifool, verify again Integrit圜hecker should detect and report “HASHES_MATCH_DATE_CHANGED” for all files for which the dates were updated. This goes without saying when running wholesale changes: make a backup or three.Īs with any wholesale data change, I strongly recommend using diglloydTools Integrit圜hecker to validate data. UPDATE: the easier/better way for most users to do this fix is to Use Graphics Converter to Fix Image File Dates. But for now I wanted a fix for the wanton destruction wrought by Apple Core Rot. I considered writing code to do so, and might still do so because for a few reasons. 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. SEND FEEDBACK Related: backup, data integrity, diglloydTools, exiftool, Integrit圜hecker
