I mentioned --include-directories in my original email. I couldn't figure out how to use it to this effect. Could you demonstrate?
On Mon, May 9, 2011 at 12:07 AM, Giuseppe Scrivano <gscriv...@gnu.org> wrote: > Yang Zhang <yanghates...@gmail.com> writes: > >> Is it possible to start at http://host/foo/bar/baz/index.cgi?page=1 >> and recursively fetch any content under http://host/foo/? (Can't start >> at http://host/foo/ since that's not a valid page.) I looked at the >> various options to control what wget recursive fetches, such as >> --no-parent and --include-directories, but I can't seem to find an >> option to accomplish the above, e.g. a simple URL substring filter. >> Thanks in advance. > > I think you are looking for --include-directories. > > Giuseppe > -- Yang Zhang http://yz.mit.edu/