Collect files
collect_filesCopies project footage and a saved project copy into a target folder without changing the open project, writes a relink script, and uses dry run to preview file counts and bytes.
Instructions
Copy the project's footage files (and a copy of the saved .aep) into targetFolder, like File > Dependencies > Collect Files, WITHOUT changing the open project or its file path. Footage goes to // (image sequences get their own subfolder with all frames). The .aep copy still points at the ORIGINAL footage paths; the tool also writes collect-report.json (item -> original/copied path) and relink-collected.jsx, which relinks every footage item to the copied files when run (File > Scripts > Run Script File, or run_script_file) after opening the copy. Proxies are not collected. Copying blocks AE while it runs: use dryRun first to see file count and total bytes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"targetFolder": "<targetFolder>"
},
"name": "collect_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comps | No | Only footage used (also via nested precomps) by these comps. | |
| dryRun | No | Only report what would be copied (no files written). | |
| usedOnly | No | Without comps: skip footage not used in any comp. | |
| overwrite | No | Replace files that already exist in the target (default: skip them). | |
| saveFirst | No | Save the open project to its own file first if it has unsaved changes. | |
| targetFolder | Yes | Destination folder (created if missing). | |
| includeProject | No | Copy the saved .aep too (default true; skipped with a warning if never saved). | |
| footageFolderName | No | Footage subfolder name (default 'Footage'). |