shoepolish is a Ruby program, that uses a toolset of Open Source utilities to optimize file content for space and bandwidth reduction. You could use this on either a private file collection to save drive space, or on a live website to reduce bandwidth costs.
How it works
The selected directory is recursively scanned for subdirectories. Then each subdirectory is analyzed for common web and image files. Those files are then modified by the appropriate tool. This is all done in a multi-threaded fashion, so no one file will hold up another's turn, but the screen can look confusing while the script is running.
· CSSTidy: used for CSS optimization
· HTML Tidy: used to convert HTML to XHTML
· jpegtran: lossless JPEG reduction
· OptiPNG: lossless PNG reduction; GIF->PNG conversion
· advzip: recompresses ZIP files with 7-Zip's DEFLATE method.
· Ruby: for the program itself.
· Java: for the YUICompressor utility.
What's New in This Release:
· Webcrush Racing asked the project to quit "webcrush" in favor of a different name. "shoepolish" has been selected as that replacement.