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

Re: wget usage help, please



* stan <stanb@awod.com> [20030314 13:14 PST]:
> I wound up with teh command line:
> 
>  wget --convert-links --no-parent -r -l0 --domains=www.backupcentral.com \
>  http://www.backupcentral.com/amanda.html
> 
> Just to get the final resolutin in the list archive for those that may
> search for this later.
> 
> NOTE, the -r 10 is probably excesive here.

Well, one of us is confused, and as this is for posterity, as you
mention, it's worth clearing it up:

Above, you say you're using -r -l0 (minus r space minus ell zero), not
-r 10 (minus r space ten).

The -l0 (minus ell zero) tells wget to recurse without limit, rather
than the default of 5 levels deep.  So if 10 is excessive, 0 is even
more so!  Using -l0 is usually good for making sure you get everything
from the site, when you don't know how deep the links actually go.  When
using other controls on the tree traversal (such as --no-parent,
--domains, etc.)  you save yourself the trouble of downloading the whole
WWW while ensuring that you'll get even the deepest linked files on your
particular target site.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
http://www.digitalconsumer.org/

Attachment: signature.asc
Description: Digital signature


Reply to: