ExifTool Forum

ExifTool => Newbies => Topic started by: Megabyte on March 21, 2024, 12:31:08 PM

Title: Find Photos with no EXIF DateTimeOriginal
Post by: Megabyte on March 21, 2024, 12:31:08 PM
I have searched and tried things but no lock so far!
I use Directory Opus and have managed (with a bit of help) to use several ExifTool commands in Directory Opus.
I am trying to figure out a command to find photos without an EXIF DateTimeOriginal - and if that's not possible, to find photos with an EXIF DateTimeOriginal before or after a specific date.
I hope someone can help.
Title: Re: Find Photos with no EXIF DateTimeOriginal
Post by: Phil Harvey on March 21, 2024, 07:08:36 PM
exiftool -filename -if "not $datetimeoriginal" DIR

- Phil
Title: Re: Find Photos with no EXIF DateTimeOriginal
Post by: StarGeek on March 24, 2024, 04:17:46 PM
Quote from: Megabyte on March 21, 2024, 12:31:08 PMto find photos with an EXIF DateTimeOriginal before or after a specific date.

To do this part, you would use something like this to find dates after January 1, 2023
exiftool -if "$datetimeoriginal gt '2023:01:01'"
Or for dates before, change gt to lt

If you are using Mac/Linux, read the .sig on Phil's post.