Re: [Bug-wget] Recursive wget with URL filter/under certain (non-parent) directory?

2011-05-09 Thread Giuseppe Scrivano
Yang Zhang yanghates...@gmail.com writes: I mentioned --include-directories in my original email. I couldn't figure out how to use it to this effect. Could you demonstrate? have you already tried the following one? wget -r -I /host/foo/ http://host/foo/bar/baz/index.cgi?page=1 Giuseppe

Re: [Bug-wget] Recursive wget with URL filter/under certain (non-parent) directory?

2011-05-09 Thread Micah Cowan
(05/09/2011 12:39 PM), Giuseppe Scrivano wrote: Yang Zhang yanghates...@gmail.com writes: I mentioned --include-directories in my original email. I couldn't figure out how to use it to this effect. Could you demonstrate? have you already tried the following one? wget -r -I /host/foo/

Re: [Bug-wget] Recursive wget with URL filter/under certain (non-parent) directory?

2011-05-09 Thread Giuseppe Scrivano
Micah Cowan mi...@cowan.name writes: have you already tried the following one? wget -r -I /host/foo/ http://host/foo/bar/baz/index.cgi?page=1 Shouldn't that be just -I /foo/ ? Yeah, sure :-) Thanks, Giuseppe

Re: [Bug-wget] Recursive wget with URL filter/under certain (non-parent) directory?

2011-05-09 Thread Yang Zhang
Thanks, I was specifying the directory differently. On Mon, May 9, 2011 at 12:39 PM, Giuseppe Scrivano gscriv...@gnu.org wrote: Yang Zhang yanghates...@gmail.com writes: I mentioned --include-directories in my original email. I couldn't figure out how to use it to this effect. Could you

Re: [Bug-wget] Recursive wget with URL filter/under certain (non-parent) directory?

2011-05-09 Thread Yang Zhang
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

[Bug-wget] Recursive wget with URL filter/under certain (non-parent) directory?

2011-05-07 Thread Yang Zhang
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