Files
nexus/wiki/sources/macOS-Symbolic-Link创建.md

34 lines
1.1 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 Link"
type: source
tags: [symbolic-link, macos, obsidian, openclaw]
date: 2025-03-06
---
## Source File
- [[raw/Home Office/macOS 创建与解除 Symbolic LinkOpenClaw 目录映射).md]]
## Summary
- 核心主题macOS上创建符号链接将OpenClaw隐藏目录映射为普通目录
- 问题域OpenClaw使用~/.openclaw隐藏目录无法在Finder或Obsidian中直接访问
- 方法/机制ln -s创建符号链接 ~/openclaw → ~/.openclaw的双向映射
- 结论/价值符号链接让OpenClaw和Obsidian访问同一份数据各取所需
## Key Claims
- OpenClaw默认目录~/.openclaw隐藏
- 符号链接ln -s /Users/weishen/.openclaw /Users/weishen/openclaw
- 创建后OpenClaw继续使用~/.openclawObsidian使用~/openclaw访问同一份数据
- 解除命令unlink ~/openclaw
## Key Concepts
- [[Symbolic Link]]:符号链接/软链接Unix系统的目录映射机制
- [[隐藏目录映射]]:将隐藏目录暴露为普通可见目录
## Key Entities
## Connections
- [[Symbolic Link]] ← 技术手段 ← OpenClaw目录映射
## Contradictions
- 无明显冲突