How to do a wget
Alan Pope
popey at ubuntu.com
Tue Nov 23 14:57:39 UTC 2010
On 23 November 2010 13:46, Bond <jamesbond.2k.g at gmail.com> wrote:
> Ummm, I think I had checked that option before posting the question
> here but any ways thanks for this it is working.
> What I still could not understand from the man page is
>
> "Do not ever ascend to the parent directory when retrieving
> recursively. This is a useful option, since it guarantees that only
> the files below a
> certain hierarchy will be downloaded."
>
> Why do we need to use this option at all?
> Can wget not go in subdirectories and download all of the folders below it?
>
Yes, and the -m will do that. But if you _dont_ do --no-parent it will go to
http://www.cs.fsu.edu/~baker/devices/lxr/source/2.6.25/
http://www.cs.fsu.edu/~baker/devices/lxr/source/
..and get all files below those directories as well as the specific
one you asked for.
Al.
More information about the ubuntu-users
mailing list