Move or rename a document or subfolder
ragdown_moveMove or rename a document or subfolder inside the documents folder and automatically rewrite all wikilinks and relative Markdown links, listing updated files without overwriting existing paths.
Instructions
Rename or move a document, or a subfolder with everything in it, to a new path inside the documents folder. Every link that pointed at what moved ([[wikilinks]] and relative Markdown links, in any document) is rewritten to still point at it, and the result lists the documents that were updated. Never overwrites: if something is already at to, nothing moves. Use this rather than ragdown_edit plus a delete, which would break the links.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Its whole new path, name included: 'db/postgres.md', not 'db/'. Missing subfolders on the way are created. A document keeps a Markdown extension | |
| from | Yes | Path of the document or subfolder relative to the documents root, e.g. 'ops/pg.md' or 'ops' |