Batch populate summary fields using content analysis
中文简介正在准备中。当前显示原文说明。
Search PDF, PPTX, and image content in Attachments using macOS Spotlight
中文简介正在准备中。当前显示原文说明。
安装前可以查看交给 AI 代理的指令内容。
Search inside PDFs, PowerPoints, images, and other files in Attachments/ using macOS Spotlight (mdfind). This leverages the OS-level content index — no custom indexing needed.
/mdfind <search query> # Search all attachment content
/mdfind --type pdf <query> # Search only PDFs
/mdfind --type pptx <query> # Search only PowerPoints
/mdfind --type image <query> # Search only images (OCR-indexed)
Execute the appropriate search based on flags:
mdfind -onlyin Attachments/ "<search_query>" 2>/dev/null
mdfind -onlyin Attachments/ "kMDItemContentType == 'com.adobe.pdf' && kMDItemTextContent == '*<query>*'" 2>/dev/null
If the above returns nothing, fall back to the simpler form:
mdfind -onlyin Attachments/ -name ".pdf" "<search_query>" 2>/dev/null
mdfind -onlyin Attachments/ "kMDItemContentType == 'org.openxmlformats.presentationml.presentation'" "<search_query>" 2>/dev/null
mdfind -onlyin Attachments/ "kMDItemContentType == 'public.image'" "<search_query>" 2>/dev/null
Format results clearly:
## Attachment Search: <query>
Found **N** matching files
| # | File | Type | Size |
|---|------|------|------|
| 1 | [filename](path) | PDF | 2.4 MB |
| 2 | ... | ... | ... |
### Quick Actions
- Read a PDF: `/pdf-to-page <path>`
- Read a PPTX: `/pptx-to-page <path>`
- Full vault search: `/q <query>`
For each result, get file size and type:
ls -lh "<file_path>" 2>/dev/null
mdfind uses macOS Spotlight — files must be indexed (most are by default)/q instead还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Batch populate summary fields using content analysis
中文简介正在准备中。当前显示原文说明。
Batch auto-tag untagged notes using content analysis
中文简介正在准备中。当前显示原文说明。
Generate C4 architecture diagrams from system notes
中文简介正在准备中。当前显示原文说明。
Create and edit Obsidian Canvas files for architecture visualization
中文简介正在准备中。当前显示原文说明。
Check Outlook inbox and update daily note with message summary
中文简介正在准备中。当前显示原文说明。
Stage and commit vault changes with UK English conventional commit messages
中文简介正在准备中。当前显示原文说明。