On 3 Oct 2001, at 16:01, CJ Kucera wrote:

> The closest I've come is (and there's lots of extraneous stuff in there):
> 
> > wget -r -l inf -k -p --wait=1 -H 
>--domains=theonion.com,graphics.theonion.com,www.theonion.com,theonionavclub.com,www.theonionavclub.com
> http://www.theonion.com

The domains you specify with --domains also match all the
subdomains, so if that's what you want, you can simplify the above
to:

wget -r -l inf -k -p --wait=1 -H --domains=theonion.com,theonionavclub.com 
http://www.theonion.com

If there are some subdomains that you specifically don't want, you
could specify them with the --exclude-domains option.

Also, the -p option is redundant since you are recursing to
"infinite" depth anyway!

Reply via email to