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