the right options to traverse/download the pages/directories of a subdomain
Posted
by
Lorraine Bernard
on Super User
See other posts from Super User
or by Lorraine Bernard
Published on 2012-11-29T18:58:39Z
Indexed on
2012/11/30
11:10 UTC
Read the original article
Hit count: 292
Let's suppose exist a site with the following directories (subdomain)
index.php
|-sub1
|-index.php
|-sub1sub1
|-index.php
|-other.php
|-sub1sub1sub1
|-sub2
|-index.php
|- ….
|-sub3
|- ...
My question is:
1) how can I display properly locally the site of the sub1 subdomain (http://domain/sub1)
2) how can I get just the files and directory which are childs of sub1 (sub1sub1
and sub1sub1sub1
for example)
I tried the following options (for wget) but it retrieves also the files and directories which are in sub2
, sub3
etc..
wget -E -H -k -K -r http://domain/sub1/index.php
© Super User or respective owner