Combine and Minify your CSS and JS
Uses the YUI Compressor to compress and minify js and css files.
sudo min <uncompressed filename> <compressed filename>
sudo min <uncompressed filename>
sudo min <directory>
To minify the file script.js just run the command from it's location
sudo min script.js
Filename of must end in .js or .css If is not specified then .min will be placed before the file extension If a directory is given then it is looking for .css or .js extentions and combine all files with that extention into style.min.css or script.min.css at the given directory.
Thanks to webSIGHTdesigns for the original script.