george boukeas <[email protected]> writes:

> Hello everyone.
>
> As far as I can tell, when I use wget like this: wget -r -H -D
> domain1,domain2 -I dir1,dir2 ... I get everything from domain1/dir1,
> domain1/dir2, as well as domain2/dir1 and domain2/dir2. I have not
> been able to figure out how to restrain wget to only accept files from
> domain1/dir1 and domain2/dir2. Is this possible?

have you already had a look at the --accept-regex option of wget?  That
might help you to solve your problem.  Keep it in mind that it is a
quite recent feature (added in wget 1.14) so ensure your wget supports
it.

Cheers,
Giuseppe

Reply via email to