Re: Reference upload glob pieces in output filename

Nicolas George via curl-users <[email protected]> Wed, 22 Apr 2026 11:09:31 +0200
Newsgroups gmane.comp.web.curl.general
Message-ID <[email protected]>
Hi.

Daniel Stenberg via curl-users (HE12026-04-22):
>   curl -T 'file{1,2,3}' https://upload.example/{this,that} -o 'response-!1-#1'

Note that if you write it like that, without quotes, the shell is doing
the expansion, and curl is seeing:

curl -T 'file{1,2,3}' https://upload.example/this https://upload.example/that -o 'response-!1-#1'

Regards,

-- 
  Nicolas GEorge
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html