#!/bin/sh BASEURL="localhost" cd `dirname "$0"` mkdir -p out cd out wget -c -m http://$BASEURL/ http://$BASEURL/connected/