cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: directory lists and -l and time-cond

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 19 Dec 2006 11:12:12 -0800

On Tue, Dec 19, 2006 at 06:51:09AM -0600, Richard Howland-Bolton wrote:
> sorry for what is I'm sure a hopelessly newby question 
> (hey, but I AM a hopeless newby so what can I do)
>
> I want a list of files that are at least a day old. 
> I tried variations of:
> curl -l --time-cond  -yesterday 'theirServerLocation'
> and 
> curl -l --time-cond  -curl_getdate "2006 Dec 18 19:49:37" 'theirServerLocation'
>
> but it always lists everything

Are these *really* the date formats you are using? The manual explains the
valid formats, and "-yesterday" and "-curl_getdate "2006 Dec 18 19:49:37"" are
not valid formats. See http://curlm.haxx.se/libcurl/c/curl_getdate.html

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-12-19