[CentOS] OT: get files with wget

Thu Apr 10 16:37:50 UTC 2008
Filipe Brandenburger <filbranden at gmail.com>

On Thu, Apr 10, 2008 at 7:39 AM, Frank Büttner <frank-buettner at gmx.net> wrote:
> > Perhaps you should do:
> > wget -r http://www.foo.bar/sample
>  Hm,
>  this will download the whole www.foo.bar site:(

Add -np (no parent).

You should also probably add a slash after the directory in the website:

wget -r -np http://www.foo.bar/sample/