curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Re: Reference upload glob pieces in output filename

From: Jeremy Nicoll via curl-users <curl-users_at_lists.haxx.se>
Date: Wed, 22 Apr 2026 16:44:31 +0100

On Wed, 22 Apr 2026, at 09:13, Daniel Stenberg via curl-users wrote:
> On Wed, 22 Apr 2026, Bastian Jesuiter wrote:
>
>> curl -T 'file{<glob1>1,2,3}' https://upload.example/{<glob2>this,that} -o
>> 'response-#<glob1>-#<glob2>'
>
> I like it a lot.

In the Windows cmd.exe terminal one has to escape the angle brackets (with
'^' chars) to prevent them from being treated as redirection indicators so
some other characters would be better.

-- 
Jeremy Nicoll - my opinions are my own.
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2026-04-22