[Top][All Lists]

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

Re: [Bug-wget] Help request to download data from http

From: Gisle Vanem
Subject: Re: [Bug-wget] Help request to download data from http
Date: Mon, 13 Jul 2015 16:17:51 +0200
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33.1

Pedro LL wrote:

I am a beginner user of wget. I wanted to use it to download data from an 
> website into my mac using unix but I have been unable after many many 
I was typing in the terminal:
  wget -q -O - http://sodaserver.tamu.edu/assim/SODA_2.2.4/ | grep _2009 |
> wget -N --wait=0.5 --random-wait --force-html -i -
but it returns this:-: Cannot resolve incomplete link /icons/unknown.gif.-

Since the base-href was removed in the first output, you'll have
to add it yourself in the 2nd invocation of Wget. Something like:

  wget -q -O - http://sodaserver.tamu.edu/assim/SODA_2.2.4/ | grep _2009 |
   wget -N --base=http://sodaserver.tamu.edu/assim/SODA_2.2.4/ --wait=0.5
  --random-wait --force-html -i -

But I think you could just do:
  wget -rq -nd -np -A.cdf --accept-regex=.*_2009.* 



reply via email to

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