title: How to minify multiple Javascript files in a folder with UglifyJS?
body: <p>Hello I'm using uglifyJs to minify my javascript files, it's working well with one file at a time, what I'm loking for is to minify all the javascript files present in a folder called JS into a folder called JSM, to be clear I have 2 files inside my JS folder called test1.js and test2.js and I want to run uglify against that folder and generate test1.min.js and test2.min.js inside the JSM folder, so is there a way to do this? a command like : </p>
  
  <pre><code>uglifyjs -c -m JS/*.js JSM/*.min.js
  </code></pre>
  
  <p>Or any idea that can help me.</p>
  
  <p>Thanks.</p>