relink-asset
Update all references from one asset path to another, preventing broken links after file moves or renames. Use dryRun mode to preview changes before committing.
Instructions
Reference integrity. Rewrite every reference from one asset path to another (e.g. after moving/renaming a file) so nothing breaks. Pass dryRun:true to preview the documents that would change without writing. GM-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Report what would change without writing. | |
| newPath | Yes | New Data-relative path to point references at. | |
| oldPath | Yes | Current Data-relative path being referenced. |