On Windows 10, it is fairly easy to search for photos taken within some date range. However, I would like to search for all photos that are missing metadata on when the photo was taken. Is there any way I can do that?

  • 1
    In simple terms, you should be able to open File Explorer, target a folder hierarchy containing pictures, change the ribbon's View tab from Large icons to Details, right-click one of the columns and put a check mark in front of Data taken. After that, you can click on the Date taken column to sort accordingly.
    – Run5k
    Mar 16, 2018 at 13:33
  • @Run5k Of course! Can’t believe I didn’t think of that :-)
    – Fredrik P
    Mar 16, 2018 at 13:35

2 Answers 2


In FIle Explorer search, an empty field is represented by a pair of empty square brackets:

  • Click in the Search bar and type:


Source: https://docs.microsoft.com/en-us/windows/win32/search/-search-3x-advancedquerysyntax#query-operators


in case of exchangeable image file format (EXIF) you can try exiftool recursively on yourphotodir:

on Windows:

exiftool -p "$directory/$filename" -if "not $exif:all" -r yourphotodir

on Linux - single quotes:

exiftool -p '$directory/$filename' -if 'not $exif:all' -r yourphotodir
  • 2
    Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Feb 6, 2022 at 13:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.