cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Downloading all files in a directory

From: <sholland_at_mac.com>
Date: Thu, 16 Sep 2004 07:51:00 -0500

I have the same need. I was doing something along the lines of

curl 'getdirectory' | sed 'options_to_parse' | curl
'take_the_list_and_shove_it'

(where things in quotes are statements of function, not real commands!)

but found the sed command structures obscure, and on my system,
couldn't get the regex + operator to work in the context of sed. As it
is, the sequence of steps including cleanup code would best be put in a
shell script.

Steve
Received on 2004-09-16