From 55abf71ab0e343721be2d335758bbe1334741cfd Mon Sep 17 00:00:00 2001 From: pablo-mano Date: Fri, 27 Feb 2026 21:16:15 +0100 Subject: [PATCH] =?UTF-8?q?Add=20.gitignore;=20fix=20move=20command=20synt?= =?UTF-8?q?ax=20(name=3D=20=E2=86=92=20to=3D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add .gitignore to exclude test-results/ from version control - Fix `obsidian move` syntax in SKILL.md and command-reference.md: the parameter is `to=` not `name=` (confirmed by live testing against TestVault — CLI exits 0 with error message when name= is used, silent failure) Co-Authored-By: Claude Sonnet 4.6 --- .gitignore | 1 + SKILL.md | 2 +- references/command-reference.md | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..51511d1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +test-results/ diff --git a/SKILL.md b/SKILL.md index 108c198..0729172 100644 --- a/SKILL.md +++ b/SKILL.md @@ -85,7 +85,7 @@ obsidian create path="folder/note" content="# New Note" obsidian create path="folder/note" template="meeting-notes" obsidian append path="folder/note.md" content="New paragraph" obsidian prepend path="folder/note.md" content="Top content" -obsidian move path="old/note.md" name="new-name" +obsidian move path="old/note.md" to="new/note.md" obsidian delete path="folder/note.md" obsidian delete path="folder/note.md" permanent ``` diff --git a/references/command-reference.md b/references/command-reference.md index 90f73f4..b220425 100644 --- a/references/command-reference.md +++ b/references/command-reference.md @@ -63,11 +63,11 @@ obsidian prepend path="folder/note.md" content="Prepended text" ### Moving & Renaming ```bash -obsidian move path="old/path/note.md" name="new-name" +obsidian move path="old/path/note.md" to="new/path/note.md" ``` -- `name=` is the new filename (moves/renames). -- The target path must include the `.md` extension when specifying a full path. +- `to=` is the full vault-relative target path including the `.md` extension. +- Can be used to move, rename, or both in a single command. ### Deleting