#!/bin/sh echo '####################################' 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 domain echo -n 'Is there a subfolder we should start from? (example: images): ' read subfolder echo -n 'What folder would you like to save the results into? [./wget-results]: ' read folder echo -n 'Creating folder...' if [ "$folder" -eq ""] then $folder='wget-results' fi mkdir $folder cd $folder echo 'Done' wget -r -p -w1 -Q1000m -t3 -nH -np -k -l10 -D $domain http://$domain/$subfolder