Skip to content

Instantly share code, notes, and snippets.

@sawanoboly
Created March 29, 2012 16:02
Show Gist options
  • Save sawanoboly/2238968 to your computer and use it in GitHub Desktop.
Save sawanoboly/2238968 to your computer and use it in GitHub Desktop.
#!/bin/bash
HOST=example.com
echo / | tr '\n' '\0' > httperf_list
wget -nv -r -l 1 http://$HOST/
find $HOST -type f | sed s@$HOST@@g | grep -v 'html$' | tr '\n' '\0' >> httperf_list
rm -rf $HOST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment