Add .gitignore; fix move command syntax (name= → to=)
- Add .gitignore to exclude test-results/ from version control - Fix `obsidian move` syntax in SKILL.md and command-reference.md: the parameter is `to=<full-path>` not `name=<filename>` (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 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
test-results/
|
||||||
@@ -85,7 +85,7 @@ obsidian create path="folder/note" content="# New Note"
|
|||||||
obsidian create path="folder/note" template="meeting-notes"
|
obsidian create path="folder/note" template="meeting-notes"
|
||||||
obsidian append path="folder/note.md" content="New paragraph"
|
obsidian append path="folder/note.md" content="New paragraph"
|
||||||
obsidian prepend path="folder/note.md" content="Top content"
|
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"
|
||||||
obsidian delete path="folder/note.md" permanent
|
obsidian delete path="folder/note.md" permanent
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -63,11 +63,11 @@ obsidian prepend path="folder/note.md" content="Prepended text"
|
|||||||
### Moving & Renaming
|
### Moving & Renaming
|
||||||
|
|
||||||
```bash
|
```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).
|
- `to=` is the full vault-relative target path including the `.md` extension.
|
||||||
- The target path must include the `.md` extension when specifying a full path.
|
- Can be used to move, rename, or both in a single command.
|
||||||
|
|
||||||
### Deleting
|
### Deleting
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user