curl / Mailing Lists / curl-users / Single Mail


Re: changing -# output on unknown data size?

From: Jeremy Nicoll via curl-users <>
Date: Tue, 16 Jan 2018 22:15:03 +0000

On Tue, 16 Jan 2018, at 21:31, Daniel Stenberg wrote:

> 2. If curl doesn't know the total transfer size, it instead outputs a (hash)
> '#' once for every transferred kilobyte of data.
> We've been discussing improving mode (2). I would like to make it only use a
> single line even for that.
> I might have gone a little overboard, but I felt inspired and I've posted a
> suggestion on how curl could instead behave that might be more appealing to
> users. There's even a small demo video showing it off.
> Check out

It's very pretty... but what does it actually mean? I notice that the distance
between the # characters grows then contracts as they bunch at the end of
the line - is that just a nice animation or does it mean something? Why are
there four hashes rather than 3 or 17? Are there times when they move but
the 'ship' doesn't, or vice versa?

If someone has this active (when perhaps it would have been better turned
off) and has redirected output do they get just a single line of arbitrary info
in the resultant file, or lots of lines?

Does curl also show a total of how much data has been processed so far, &
maybe an average speed/second or /minute or something? Surely that's
more useful?

Jeremy Nicoll - my opinions are my own.
Received on 2018-01-16