relink_media
Rewrite media source paths in FCPXML files to relink moved folders. Use prefix-based find and replace with optional dry run preview.
Instructions
Bulk-rewrite media source paths (asset/media-rep src URLs) to relink moved or renamed media folders without opening FCP. Prefix-based: find='/Volumes/OldDrive/Media' replace='/Volumes/NewDrive/Media'. Use dry_run to preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Path to FCPXML file or .fcpxmld bundle | |
| find | Yes | Old path prefix to match (plain path or file:// URL) | |
| replace | Yes | New path prefix to substitute | |
| dry_run | No | Preview changes without writing | |
| output_path | No | Output path (default: adds _relinked suffix) |