返回顶部
o

obsidian-folder-sync

|

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

obsidian-folder-sync

# Obsidian Folder Sync 将任意文件夹同步到 Obsidian Vault,支持任何 AI agent 或手动管理的文件夹。 ## 使用方式 ```bash bash ~/.openclaw/workspace/skills/obsidian-folder-sync/scripts/sync.sh <源目录> <目标Vault> [目标子目录] ``` **参数说明:** | 参数 | 必填 | 说明 | |------|------|------| | 源目录 | ✅ | 要同步的文件夹绝对路径 | | 目标Vault | ✅ | Obsidian Vault 路径 | | 目标子目录 | ❌ | Vault 内的子文件夹(默认:源目录名)| **示例:** ```bash # 同步 AI agent skills 到 Obsidian bash sync.sh ~/.openclaw/workspace/skills ~/Obsidian/MyVault # 同步项目文档到 Vault 的 Projects 子目录 bash sync.sh ~/my-project/docs ~/Obsidian/MyVault Projects # 同步记忆文件夹 bash sync.sh ~/my-agent/memory ~/Obsidian/MyVault Memory ``` ## 同步规则 - ✅ **同步**:所有 `*.md` 文件 - ❌ **排除**:`node_modules/`、`__pycache__/`、`.git/`、`.venv/`、`.clawhub/`、`.learnings/` - 📁 **映射**:源目录结构保持不变地映射到目标子目录 ## 日志 日志文件:`~/.openclaw/workspace/logs/obsidian-folder-sync.log` ## 技术细节 - 工具:`rsync --files-from`,高效增量同步 - 文件列表写入 `/tmp/obsidian-folder-sync-$$/`,执行后自动清理 - 可通过环境变量覆盖配置(高级用法)

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 obsidian-folder-sync-1776030873 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 obsidian-folder-sync-1776030873 技能

通过命令行安装

skillhub install obsidian-folder-sync-1776030873

下载 Zip 包

⬇ 下载 obsidian-folder-sync v1.0.0

文件大小: 2.92 KB | 发布时间: 2026-4-13 11:14

v1.0.0 最新 2026-4-13 11:14
obsidian-folder-sync 1.0.0

- Initial release.
- Sync any folder's `.md` files to a specified Obsidian Vault subdirectory.
- Excludes folders like `node_modules`, `.git`, `__pycache__`, and `.venv` from sync.
- Preserves original directory structure in the Vault.
- Command-line usage with customizable source, destination Vault, and optional subdirectory.
- Efficient, incremental sync using `rsync`, with logs stored in `~/.openclaw/workspace/logs/obsidian-folder-sync.log`.

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

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

p2p_official_large
返回顶部