Well, perl's great and all that, but there's a well know, and free tool
specifically designed to do this:
http://www.gnu.org/software/wget/manual/html_node/Recursive-Download.html#Recursive-Download
Bugbear, I'm in shock, in a good way. This is something that would
never happen to a windows user:
wget -rH -Dgermanresistance.com
http://germanresistance.com >text1
$ wget -rH -Dgermanresistance.com
http://germanresistance.com >text1
--2011-03-09 12:23:04--
http://germanresistance.com/
Resolving germanresistance.com... 74.208.40.60
Connecting to germanresistance.com|74.208.40.60|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `germanresistance.com/index.html'
[ <=> ] 7,755 38.0K/s in
0.2s
2011-03-09 12:23:05 (38.0 KB/s) - `germanresistance.com/index.html'
saved [7755]
Loading robots.txt; please ignore errors.
--2011-03-09 12:23:05--
http://germanresistance.com/robots.txt
Connecting to germanresistance.com|74.208.40.60|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/plain]
Saving to: `germanresistance.com/robots.txt'
.... [big snip]
2011-03-09 12:23:23 (27.5 KB/s) -
`germanresistance.com/contact-us/feed/index.html' saved [708]
FINISHED --2011-03-09 12:23:23--
Downloaded: 41 files, 295K in 7.5s (39.0 KB/s)
$
I told my uncle that it would take me 50 seconds. Nice to know I've
still got the touch. They've made him believe that this website is some
unbelievable, irreplaceable thing. They also said it was in Dan's basement.
Out of curiosity, can somebody tell where this server is, physically?
I wasn't expecting any of this to happen, but when I saw that this
script was saving filings for me in a directory structure, then I set
about finding it, and they put it right in one's home:
$ pwd
/home/dan/germanresistance.com
$ ls -l
total 40
drwxr-xr-x 3 dan dan 4096 2011-03-09 12:23 contact-us
drwxr-xr-x 3 dan dan 4096 2011-03-09 12:23 home
-rw-r--r-- 1 dan dan 7755 2011-03-09 12:23 index.html
drwxr-xr-x 2 dan dan 4096 2011-03-09 12:23 index-of-papers
-rw-r--r-- 1 dan dan 24 2011-03-09 12:23 robots.txt
drwxr-xr-x 5 dan dan 4096 2011-03-09 12:23 wp-content
drwxr-xr-x 3 dan dan 4096 2011-03-09 12:23 wp-includes
-rw-r--r-- 1 dan dan 42 2011-03-09 12:23 xmlrpc.php
-rw-r--r-- 1 dan dan 858 2011-03-09 12:23 xmlrpc.php?rsd
$ ls *
index.html robots.txt xmlrpc.php xmlrpc.php?rsd
contact-us:
feed index.html
home:
feed
index-of-papers:
index.html
wp-content:
plugins themes uploads
wp-includes:
js wlwmanifest.xml
$
Had only a few minutes for this today and feel like I hit a home run.
Now to get my truck back from the shop and pay the bill.
![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)