Simple web spidering trick for wget

Posted:

If you want to spider a site from a path far down a branch of the document tree, try the following wget invocation:

wget --mirror --relative --no-parent [URL]

This prevents wget from traversing back up the parent and fetching the whole site.