[GLLUG] first try using wget

Brian Hoort hoortbri@msu.edu
Thu, 27 Jun 2002 16:51:23 -0400


Thanks, that was one of them, the final result for what I wanted is this:
$ wget -k -nH -np --cut-dirs=2 -r -l1 http://www.oreilly.com/openbook/freedom/

It puts all the contents of that folder, and any folder structure in it 
1-level deep into the current folder, without creating a folder structure 
or host name. Whew!

Thanks

At 04:38 PM 6/27/2002, you wrote:
>On Thursday 27 June 2002 16:01, after a long battle with technology,
>Brian Hoort wrote:
> > I just tried to use wget for the first time [...] Looking at the man
> > page, I find -r for recursion. So
> > next I tried: $ wget -r http://www.oreilly.com/openbook/freedom/
> > and it downloaded what I wanted, and started getting everything on
> > their whole site, www.oreilly.com as well as
> > international.oreilly.com.
> >
> > Before I do that again, what do I do to limit it to a certain folder?
>
>The -np option (don't ascend to the parent directory) looks like what
>you want.  It's the last option you see when you execute "wget -help".
>
>--
>    You have me mixed up with more creative ways of being stupid.
>    --MegaHAL, trained on random gibberish
>There is no Darkness in Eternity/But only Light too dim for us to see