

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. \exiftool_output.- SEND FEEDBACK Related: backup, data integrity, diglloydTools, exiftool, Integrit圜hecker $process = Start-Process -FilePath ".\exiftool.exe" -ArgumentList "-r -a -u -g0 ""$location"" -json" -Wait -RedirectStandardOutput exiftool_output.json -PassThru -NoNewWindow

$location = browse-to-folder -message "Select Folder" Important because this process is slow! C:\temp\exiftool.exe 'Z:\Pics' -CSV -r -EXT NEF CRW JPG -ISO -ISOSetting -Aperture -ExposureTime -Model -Lens -FocalLength -LensID -ExposureCompensation -MeteringMode -Flash -FocusMode -AFAreaMode -CreateDate > c:\temp\all_exif.csv # Load the exifdata to a variable for further manipulation $exif = Import-Csv c:\temp\all_exif.csv # Print different statistic counts $exif | group ISOSetting $exif | group Aperture | select Count, Name # Show all lenses ever used $exif | group LensID | select Name | sort Name # Show all files with iso 800 $exif | Where-Object Here are some example commands: # Call exiftool to collect all exifdata from a directory, recursively and save it in a file. Everything is build on top of the output of the great free tool EXIFTool I therefore made a few powershell pieces to get him started. A friend of mine had a lot of pictures he wanted to do some statistics on.
