Symlink Maker

Create symbolic links (symlinks) for files or directories.

afine907 222ded5 3 files · 2.4 KB Updated

File contents

Symlink Maker

Creates symbolic links for files or directories. Cross-platform (Windows/macOS/Linux).

Goal

Create symbolic links (symlinks) for files or directories.

Workflow

输入 → 处理 → 输出

Usage

Run the bundled script:

python <skill-dir>/scripts/create_link.py "<source>" "<link_path>"
  • source: what the link points TO
  • link_path: where the link is created

Examples

# File symlink
python <skill-dir>/scripts/create_link.py "D:/project/config.json" "C:/Users/me/Desktop/config.json"

# Directory symlink
python <skill-dir>/scripts/create_link.py "D:/shared/assets" "D:/my-project/assets"

Notes

  • If source doesn't exist, warns about broken symlink before creating
  • On Windows directories, uses junction (no admin needed)
  • Always verify the result after creation

afine907/skills/tree/main/symlink-maker commit 222ded55bb

Frequently asked questions

npx skillmds@latest add afine907/symlink-maker