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
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Bastian Jesuiter via curl-users <curl-users_at_lists.haxx.se>
Date: Wed, 22 Apr 2026 19:48:31 +0200
I don't think the choice of the char is an issue.
Even in cmd, as soon as you use " " the cmd will not interpret <.
But I am not a cmd expert, I only use Powershell if I'm not on Linux
anyway. So please correct me if I'm wrong.
On Wed, 22 Apr 2026, 19:45 Paul Gilmartin via curl-users, <
curl-users_at_lists.haxx.se> wrote:
> On 4/22/26 09:44, Jeremy Nicoll via curl-users 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.
> There aren't enough characters. Consider:
> 585 $ touch 'foo <bar>' 'foo
> bar'
> 586 $ ls foo*
> 'foo'$'\n''bar' 'foo <bar>'
> 587 $
>
> --
> gil
>
> --
> Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
> Etiquette: https://curl.se/mail/etiquette.html
>
Date: Wed, 22 Apr 2026 19:48:31 +0200
I don't think the choice of the char is an issue.
Even in cmd, as soon as you use " " the cmd will not interpret <.
But I am not a cmd expert, I only use Powershell if I'm not on Linux
anyway. So please correct me if I'm wrong.
On Wed, 22 Apr 2026, 19:45 Paul Gilmartin via curl-users, <
curl-users_at_lists.haxx.se> wrote:
> On 4/22/26 09:44, Jeremy Nicoll via curl-users 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.
> There aren't enough characters. Consider:
> 585 $ touch 'foo <bar>' 'foo
> bar'
> 586 $ ls foo*
> 'foo'$'\n''bar' 'foo <bar>'
> 587 $
>
> --
> gil
>
> --
> Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
> Etiquette: https://curl.se/mail/etiquette.html
>
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2026-04-22