---
title: "edit.consolidateDuplicates: Consolidate Duplicates — Film kit command — Kition"
description: "Merges project items that refer to the same file or generator with the same interpretation: the oldest is kept and every clip using the others is relinked to it."
canonical: "https://developer.kition.ai/docs/kits/film/commands/edit.consolidateDuplicates"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/film/commands/edit.consolidateDuplicates](https://developer.kition.ai/docs/kits/film/commands/edit.consolidateDuplicates)

# edit.consolidateDuplicates

**Consolidate Duplicates.** Merges project items that refer to the same file or generator with the same interpretation: the oldest is kept and every clip using the others is relinked to it.

- Kit: Film 0.1.0 (.kfilm); reference: [Film kit commands](https://developer.kition.ai/docs/kits/film.md)
- Changes the document: yes

## Parameters

None.

## Call through film_run

```text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "edit.consolidateDuplicates" }]
}
```

The required parameters, with placeholders for their types: not a tested example. film_run answers the step’s result in `completed[i].result`.

## Result

The kit gives no result schema for this command.

Generated from the command list of @kition/film-darwin-arm64@0.1.0 and the kit itself (film_commands through @kition/cli@0.1.1, built from KitionAI/kition-film@375db59).
