Sunday, 26 May 2013

Mirror website with wget but only matching url pattern

Mirror website with wget but only matching url pattern

I want to mirror a website. It's built-on like this.
abc.com/A/B/1/...
abc.com/A/D/2/...
abc.com/A/R/3/...
abc.com/A/G/4/...
abc.com/A/F/5/...
abc.com/A/B/6/...
And I only want to get all links from this link:
abc.com/A/G/4/...
Is there any command in wget, to get all links only starting like this: abc.com/A/G/4/ ?

No comments:

Post a Comment