返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
l

local-image-search

Fast local image search using macOS Spotlight or fd. Search images by name, date, location, or metadata. Use when users need to find images on their local machine quickly without manual browsing.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
358
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

local-image-search

# Local Image Search Search local images quickly using macOS Spotlight or fd. ## Quick Start ### Search by Name ```bash # Using fd (fastest) fd -e jpg -e png -e jpeg -e heic -e webp -e gif -e tiff "pattern" /path/to/search # Using Spotlight mdfind -onlyin /path/to/search "kMDItemDisplayName == '*pattern*'" ``` ### Search by Date ```bash # Today mdfind -onlyin ~/Pictures "kMDItemContentTypeTree == 'public.image' && kMDItemFSContentChangeDate > $time.today()" # Last 7 days mdfind -onlyin ~/Pictures "kMDItemContentTypeTree == 'public.image' && kMDItemFSContentChangeDate > $time.now(-604800)" # This month mdfind -onlyin ~/Pictures "kMDItemContentTypeTree == 'public.image' && kMDItemFSContentChangeDate > $time.this_month()" ``` ### Search by Location (GPS) ```bash # Has GPS coordinates mdfind "kMDItemContentTypeTree == 'public.image' && kMDItemGPSStatus == 'GPS'" # In specific area (approximate) mdfind "kMDItemContentTypeTree == 'public.image' && kMDItemGPSLatitude > 39 && kMDItemGPSLatitude < 41" ``` ### List All Images ```bash # All images in home mdfind "kMDItemContentTypeTree == 'public.image'" # Specific directory only mdfind -onlyin ~/Pictures "kMDItemContentTypeTree == 'public.image'" # Specific types only mdfind -onlyin ~/Pictures "kMDItemContentType == 'public.png'" ``` ## Available Scripts ### Basic Search - `scripts/search_by_name.sh` - Search images by filename pattern - `scripts/search_by_date.sh` - Search by creation/modification date - `scripts/list_all.sh` - List all images in a directory ### Advanced Search - `scripts/search_by_location.sh` - Search by GPS coordinates - `scripts/search_by_size.sh` - Search by image dimensions - `scripts/search_similar.sh` - Find visually similar images (requires perceptual hash) ### Utility - `scripts/thumbnail.sh` - Generate thumbnails for results - `scripts/copy_results.sh` - Copy search results to destination ## Image Types Supported | Extension | Type | |-----------|------| | jpg/jpeg | JPEG images | | png | PNG images | | heic | iPhone photos | | webp | WebP images | | gif | GIF images | | tiff | TIFF images | | raw | RAW camera files | | dng | Digital negatives | ## Metadata Search Keys | Key | Description | |-----|-------------| | kMDItemDisplayName | Filename | | kMDItemFSContentChangeDate | Modification date | | kMDItemContentCreationDate | Creation date | | kMDItemPixelWidth | Image width | | kMDItemPixelHeight | Image height | | kMDItemGPSLatitude | GPS latitude | | kMDItemGPSLongitude | GPS longitude | | kMDItemMake | Camera make | | kMDItemModel | Camera model | ## Examples ```bash # Find all screenshots ./scripts/search_by_name.sh "Screen Shot" ~/Desktop # Find photos from today ./scripts/search_by_date.sh today ~/Pictures # Find iPhone photos ./scripts/search_by_name.sh "IMG_" ~/Pictures # Copy results to folder ./scripts/search_by_date.sh today ~/Pictures | ./scripts/copy_results.sh ~/Desktop/today_photos ``` ## Requirements - macOS (uses Spotlight/mdfind) - fd (optional, for faster filename search): `brew install fd` - exiftool (optional, for advanced metadata): `brew install exiftool`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 local-image-search-1776287688 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 local-image-search-1776287688 技能

通过命令行安装

skillhub install local-image-search-1776287688

下载

⬇ 下载 local-image-search v1.0.0(免费)

文件大小: 4.09 KB | 发布时间: 2026-4-16 16:58

v1.0.0 最新 2026-4-16 16:58
Initial release: Fast local image search using Spotlight or find command

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部