curl-users
Re: Wildcards
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 11 Jan 2001 07:50:06 +0100 (MET)
Date: Thu, 11 Jan 2001 07:50:06 +0100 (MET)
On Wed, 10 Jan 2001, Frank Reid wrote:
> Another question. Will curl use the shorthand file-naming conventions
> within the --request directive?
No, the --request is strictly limited to the single request keyword only.
> In other words, would something like this work:
>
> --url http://yoursite.com/file[0-100].TXT
> --request "DELETE http://yoursite.com/file[0-100].TXT"
This ought to work:
curl --url http://yoursite.com/file[0-100].TXT --request DELETE
-- Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/Received on 2001-01-11