Tuesday, 12 January 2021

Windows drag n drop Batch Image Metadata Updates

Batch modifying the exif metadata on your images (NEF, DNGs, jpegs ....) in Windows can be a little painful. Exiftool is a great tool that can perform the metadata updates but most would associate this with command line updates.

With Windows, there exists a neat tick with batch files that you can drag and drop files onto batch file under Windows explorer and the batch file will accept them as arguments. For example, to set the lens information on any exiftool support file, create the following .bat file and then drag and drop your files!
@echo off FOR %%i IN (%*) DO exiftool -overwrite_original -Lens="Nikkor 20mm f/3.5 AI" -MaxApertureValue="3.5" -FocalLength="20" %%i pause

No comments:

Post a Comment