cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl and fallocate

From: Manfred Schwarb <manfred99_at_gmx.ch>
Date: Mon, 03 Feb 2014 12:55:53 +0100

Hi,

while doing parallel downloads with curl, I found that the resulting
files are somewhat fragmented. I.e. doing

for ((i=1; i<20; i++)); do
   curl -o $i.txt http://server/$i.txt &
done

So it seems curl does not fallocate the resulting files. Is there a
possibility to achieve this? Or are there plans to add a fallocate
option to curl?

Thanks,
Manfred
-------------------------------------------------------------------
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-02-03