bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] How to set -l to be zero? (Or how to download a single we


From: Peng Yu
Subject: Re: [Bug-wget] How to set -l to be zero? (Or how to download a single webpage and convert the absolute links to relative links with wget?)
Date: Wed, 2 Jun 2010 15:16:45 -0500

> Ah, sorry, I misunderstood what you wanted. What I described will
> convert relative links to absolute links, not vice versa.

No problem.

> You're right, to get what you want, then you need recursion; wget only
> converts links to point at pages locally, if it directly knows they've
> been downloaded (because it had done so). That being the case, -l 0
> wouldn't have worked even if it did what you hoped, because it would not
> have downloaded them, so there's no way to do it without recursing to
> the links that you want to be converted afterward.

How to overwrite a file if the file has already downloaded (I'm
downloading a single page without --mirror option)?

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]