[GLLUG] first try using wget

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


I just tried to use wget for the first time to download the book, Free as 
in Freedom, Richard Stallman's Crusade for Free Software, By Sam Williams, 
available free online by O'Reilly. First I did:
$ wget http://www.oreilly.com/openbook/freedom/
in the hopes that it would download everything in that file. Instead, it 
acted just like a browser and downloaded index.html. What I wanted was any 
file matching ch??.html, or better yet, everything in and below that dir. 
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?

TIA



-- 
Brian Hoort