cURL / Mailing Lists / curl-users / Single Mail

curl-users

Multiple filename do not work with -O

From: Mike Akiba <mike2718_at_gmail.com>
Date: Tue, 30 Sep 2014 03:41:27 +0800

I want to download three files:

one.jpg
two.jpg
three.jpg

After I run:

mike@mike-pc:~/www$ curl -# -R -O http://www.example.com/{one,two,three}.jpg

I ONLY get one.jpg on my disk:

mike_at_mike-pc:~/www$ ls
one.jpg

two.jpg and three.jpg goes to stdout though.

-------------------------------------------------------------------
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 2014-09-29