---
name: "unecm"
section: "1"
platform: "linux"
package: "ecm"
version: "1.00-1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/unecm"
---

# unecm(1)

regenerate error correction codes from ECM files

## NAME

unecm - regenerate error correction codes from ECM files

## SYNOPSIS

**unecm**  *ecmfile* *\[outputfile\]*\

## DESCRIPTION

**unecm** is used to recreate CD image files (ISO, BIN, CDI, NRG, CCD or any other format that uses raw sectors) from ECM files, by regenerating Error Correction Codes (EEC) and Error Detection Codes (EDC) striped by the program **ecm**.

- Because **ecm** only discards EDC/ECC data for sectors where it's verifiably possible to recreate that data, the process is lossless.

  ## EXAMPLES

- **unecm foo.bin.ecm**

  regenerate the ECC/EDC data from foo.bin.ecm and save the resulting CD image as foo.bin

- **unecm foo.img.ecm foobar**

  regenerate the ECC/EDC data from foo.img.ecm and save the resulting CD image as foobar\

## SEE ALSO

[**ecm**(1)](/ecm/1.md).\

## AUTHOR

**unecm** was written by Neill Corlett.

This manual page was written by Loïc Martin \<loic.martin3@gmail.com\>, for the Debian project (but may be used by others), using the documentation written by ECM author Neill Corlett.
