Files
nexus/wiki/sources/macos-chuang-jian-yu-jie-chu-symbolic-link-openclaw-mu-lu-ying-she.md
2026-04-14 16:02:50 +08:00

31 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "macOS 创建与解除 Symbolic LinkOpenClaw 目录映射)"
type: source
tags: [macos, symbolic-link, openclaw, obsidian]
date: 2026-04-14
source_file: raw/Technical/Home Office/🟣macOS 创建与解除 Symbolic LinkOpenClaw 目录映射).md
---
## Summary
- 核心主题macOS系统下 Symbolic Link符号链接的创建与解除用于将OpenClaw隐藏目录映射为普通目录
- 问题域OpenClaw使用~/.openclaw隐藏目录不便于在Finder或Obsidian中直接访问
- 方法/机制通过ln -s命令创建符号链接将~/.openclaw映射到~/openclaw
- 结论/价值实现OpenClaw数据在Obsidian中的直接访问同时保持OpenClaw兼容性
## Key Claims
- Symbolic Link只删除链接文件不删除真实目录安全性可控
- 推荐使用推荐目录结构agents/skills/memory/prompts/logs/docs便于Git管理与备份
- 创建反向链接方案:~/openclaw为实际目录~/.openclaw指向它
## Key Concepts
- [[Symbolic Link]]符号链接Unix/Linux系统中指向另一个文件的特殊文件类型
- [[OpenClaw]]AI Agent操作系统
- [[Obsidian]]:本地笔记管理工具
## Key Entities
- [[OpenClaw]]AI Agent操作系统
## Connections
- [[OpenClaw]] ← 目录映射 ← [[Symbolic Link]]
- [[Symbolic Link]] ← 兼容 ← [[Obsidian]]