![在 Windows 10 上搜索没有照片日期的照片](https://linux22.com/image/1556082/%E5%9C%A8%20Windows%2010%20%E4%B8%8A%E6%90%9C%E7%B4%A2%E6%B2%A1%E6%9C%89%E7%85%A7%E7%89%87%E6%97%A5%E6%9C%9F%E7%9A%84%E7%85%A7%E7%89%87.png)
在 Windows 10 上,搜索某个日期范围内拍摄的照片相当容易。但是,我想搜索所有缺少拍摄时间元数据的照片。有什么方法可以做到这一点吗?
答案1
在文件管理器搜索,空字段由一对空方括号表示:
- 点击搜索栏并输入:
拍摄日期:=[]
来源: https://docs.microsoft.com/en-us/windows/win32/search/-search-3x-advancedquerysyntax#query-operators
答案2
对于可交换图像文件格式 (EXIF),您可以尝试外置工具递归地yourphotodir
:
在 Windows 上:
exiftool -p "$directory/$filename" -if "not $exif:all" -r yourphotodir
在 Linux 上 - 单引号:
exiftool -p '$directory/$filename' -if 'not $exif:all' -r yourphotodir