title: mass .js to .coffee conversion using js2coffe and bash
body: <p>I want to convert a pile of .js to .coffee files using the find command like:</p>
  
  <pre><code>find . -name '*.js' -exec js2coffee {} \;
  </code></pre>
  
  <p>well this works but instead of writing a file it writes to screen.
  how do i force it to write each .js as .coffee instead or whatever?</p>
  
  <p>UPDATE:
  Solved. See the solution below.</p>