读取文件名并从命名文件输出EXIF数据
项目描述
photofind
一个类似 find
的工具,用于扫描目录,检测图像文件,读取和过滤选定的EXIF数据标签。
地理位置过滤器
根据提供的GPS坐标和扫描的图像文件中的EXIF GPS数据之间的距离来过滤图像文件。
命令行
Usage: photofind [OPTIONS] [DIRECTORY]
Scan DIRECTORY for image files, printing filenames and selected EXIF data
Options:
-r, --recurse descend into subdirectories
-f, --file_filter TEXT regex pattern to select filenames
-t, --include_filter TEXT regex pattern to select EXIF tags (default is
all)
-T, --exclude_filter TEXT regex pattern to exclude EXIF tags (default is
'.*[tT]humbnail.*|EXIF MakerNote|Filename' use
'\.^' to exclude nothing
-j, --format-json output as JSON
-c, --compact compact output
-n, --no_exif output only files with no EXIF data
-d, --distance TEXT filter output by distance given
LATITUDE,LONGITUDE,METERS in decimal
(include_filter must include GPS data
--data / --no-data output EXIF data
--help Show this message and exit.