bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Combining domains with directories when filtering


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] Combining domains with directories when filtering
Date: Sun, 11 May 2014 15:59:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

george boukeas <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]