YUI Compressor does not accept wildcard parameters, so I cannot run it like this:
C:>java -jar yuicompressor.jar *.js
But I have over
And for unix or cygwin you can use xargs or something like:
ls -1 *.js | awk '{printf("java -jar yuicompressor.jar %s -o deploy/%s",$1,$1)}'
Pipe that to /bin/sh when you're happy with the command line to execute it.