This script will recursively minifify an entire website.
compress-web.sh ./source-dir ./target-dir
You will need the following tools
Copy the jar file in the same folder as compress-web.sh
Install it using npm
Copy the jar file in the same folder as compress-web.sh