wget only part of site

hrolsons used Ask the Experts™
So I understand if I want to make an entire site available for offline viewing I can do:

wget http://www.mysite.com --convert-links --recursive

But how could I make part of a site available for offline viewing, such as:


Say I want that page and all the pages if you click on people's faces.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
same way

wget http://www.fbi.gov/wanted/topen --convert-links --recursive

It will get everything on that page, and all the links on that page, and convert the links also.

There is an option of how deep you want the recursion to be (--level = NUMBER).



So, my above statement would not get the ENTIRE website?  Unless I did something like --level=9999999
Top Expert 2011

default level is 5. It is sufficient for most of sites.
However, you found missing link or image, then you might want to increase the level number.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial