rename_collection
Move a collection to a new folder, rewriting every relative link into it from anywhere in the repo and out of it from inside.
Instructions
Move a collection to a new folder, rewriting every relative link into it from anywhere in the repo and out of it from inside. If its name comes from its folder (no name: in its README), the name changes too and "#" references by the old name, path or automatic alias are rewritten; explicit aliases are kept. Refuses a destination that exists or is inside another collection, and a new name another collection uses. dry_run: true returns the plan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The new folder, relative to the repo root. | |
| dry_run | No | ||
| collection | Yes |