Main Menu

Compare dates

Started by Guzman, April 10, 2015, 06:04:46 AM

Previous topic - Next topic

Guzman

Hello,

I need to find the images that datetimeoriginal is later than a given date.

Thanks.

Phil Harvey

Try something like this:

exiftool -filename -if "$datetimeoriginal gt '2012:03:22 00:00:00'" DIR

- 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 ($).

Guzman