On 06/03/2010 07:41 AM, Keisial wrote:
> Peng Yu wrote:
>> On Sat, May 29, 2010 at 12:11 PM, Micah Cowan <mi...@cowan.name> wrote:
>>   
>>> Unfortunately, wget doesn't currently let you match query strings. Yes, 
>>> this is a major shortcoming.
>>>
>>> "Peng Yu" <pengyu...@gmail.com> wrote:
>>>
>>>     
>>>> There is the link "index.html?lang=ja" in index.html. I want to ignore
>>>> such links. I use the following command. Would you please let me know
>>>> how to ignore "index.html?lang=ja"?
>>>>       
>> Is there a walkaround for this shortcoming?
>>   
> 
> wget --reject="?lang=ja"
> They will be downloaded, then deleted.

Downloaded, recursed, then deleted, which doesn't usually help much.

Note that if -E is specified, then it may not even delete them (because
the file's name may have changed in such a way that it no longer matches).

-- 
Micah J. Cowan
http://micah.cowan.name/

Reply via email to