cURL / Mailing Lists / curl-users / Single Mail

curl-users

Complex URLs at once can't save file name

From: Rodrigo Zanatta Silva <rodrigozanattasilva_at_gmail.com>
Date: Tue, 14 Apr 2015 10:25:50 -0300

HI all...

I am using the bash cURL and I am having problem.

I want to download various complex URLs at once, but I am having problem
with name. My command is something like:

curl --url 'http://www.google.com/{various,complex,names}' --output
'name#1.html'

The problem is I can't save the file name with the various complex name I
send. So the program fail to write.

Maybe I was be happy with:

--output 'name%i.html'

So I will create files:

name1.html
name2.html
...

How can I solve this problem?

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-04-14