Batch edit Original Date on macOS HELP

Started by igobythisname, March 31, 2025, 04:46:06 PM

Previous topic - Next topic

igobythisname

I am trying to batch edit photos in a folder to update DateCreated to match Original Date;
i tested exiftool on a single photo and it was successful;
when i try to run the same command on the folder, it is telling me:
Warning: [minor] Error reading PreviewImage from file - (directory/IMGxxx.JPG)for all the files in that directory.

what am I doing wrong?

the command I'm using:
exiftool '-FileModifyDate<DateTimeOriginal' FileOrDir

I'm on macOS 14.7.4

thanks in advance!

igobythisname

oh, maybe the command did work to correct the date for all the items in the folder, but it's still returning this error for some reason

Phil Harvey

This is a minor warning that may be ignored with the -m option.  It can happen if the image was edited by some other software that doesn't properly handle the preview.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).