Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having trouble decoding a .ecm file on my computer. This is my first Mac so I'm new to the different operating systems. I'm on a MacBook Pro, Snow Leopard I believe, I know I haven't upgraded to Lion. 10.6.8 seems to be the current version. I have the cmdpack downloaded from Neill Corlett, just not sure how to use it really. Any help you can give would be much appreciated. Thanks.

share|improve this question
Can you clarify what this .ecm file is and what you expect it to do? When I Google ecm, no file type comes up in the first page, and late in the listings there are several possible explanations. – Daniel Oct 2 '11 at 16:45
Possible duplicate:… -- is this different in Lion vs. Snow Leopard? – Daniel Oct 6 '11 at 4:14
up vote 1 down vote accepted

The cmdpack you downloaded are command line tools. If you have a recent mac, you should have downloaded the Mac OS X (64-bit, x86_64) version.

To use these tools, you'll need to venture into the UNIX command line. This is analogous to the command prompt of Windows, and can be accessed using the Terminal application in /Applications/Utilities.

Once you've downloaded the cmdpack.gz file, uncompress it to a directory by double-clicking it. For ease of explanation, then drop the .ecm file you want to work with into that directory. Open Terminal (either find it in Utilities or Spotlight search for it) and then navigate to the cmdpack directory (the easiest way to do this is to type cd followed by a space, and then drag the directory to your terminal window--the path of the folder will be inserted--then hit return).

When you're in the appropriate working directory, you can type ls to list its contents. The executable you want to run is most likely unecm. The easiest way to run an executable in your current working directory is by prefixing it with ./. If you type ./unecm, the command will run and show you usage information. If you already dropped your .ecm file into this directory, unencoding it should be as simple as ./unecm myecmfile.ecm

To recap:

  1. Download the Mac OS X (64-bit, x86_64) command-line pack and uncompress/ungzip it.
  2. Open Terminal and navigate to the uncompressed directory (for me this command was cd /Users/nreilingh/Downloads/cmdpack-1.02-macosx-x86_64)
  3. Run unecm as necessary with ./unecm after cding to the ungzipped directory.
share|improve this answer
That did it. Thank you very much NReilingh. I've never used UNIX (or any sort of coding process). Your instructions were thorough and easy to follow. Cheers! – tmiceli Oct 2 '11 at 17:28

protected by Community Feb 7 '12 at 23:45

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.