relink-asset
Update every reference from one asset path to another, preserving link integrity after renaming or moving files. Preview changes with a dry run 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. |