#!/bin/shecho '####################################'echo '# Grab a Website with wget #'echo '# by jhubert@gmail.com #'echo '####################################'echo -n 'What domain would you like to start grabbing from? (example: www.yoursite.com): 'read domainecho -n 'Is there a subfolder we should start from? (example: images): 'read subfolderecho -n 'What folder would you like to save the results into? [./wget-results]: 'read folderecho -n 'Creating folder...'if [ "$folder" -eq ""]then$folder='wget-results'fimkdir $foldercd $folderecho 'Done'wget -r -p -w1 -Q1000m -t3 -nH -np -k -l10 -D $domain http://$domain/$subfolder