cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Turn off progress meter

From: Karl Eklund <localpart_at_gmail.com>
Date: Wed, 16 Nov 2011 09:54:23 +0100

I think your suggestion actually gives the opposite of a solution to my
problem :-)

It turns off everything but the progress meter.

~ $ curl http://www.google.se/ > /dev/null
  % Total % Received % Xferd Average Speed Time Time Time
 Current
                                 Dload Upload Total Spent Left
 Speed
100 10692 0 10692 0 0 84084 0 --:--:-- --:--:-- --:--:--
 242k

On Wed, Nov 16, 2011 at 09:39, Abhijeet Rastogi <abhijeet.1989_at_gmail.com>wrote:

> curl http://aaa.bbb.ccc/ > /dev/null
>
> This sends output (fd=1) to /dev/null
>
> On Wed, Nov 16, 2011 at 1:47 PM, Karl Eklund <localpart_at_gmail.com> wrote:
>
>> Is it possible to turn off the progress meter without turning off error
>> messages?
>>
>> ~ $ curl http://www.google.se/ | less
>> [ data randomly mixed with progress meter ]
>> ~ $ curl -s http://aaa.bbb.ccc/
>> [ silent failure ]
>> ~ $ curl -S -s http://aaa.bbb.ccc/
>> [ silent failure ]
>> ~ $ curl -S http://aaa.bbb.ccc/
>> [ silent failure ]
>>
>>
>> -------------------------------------------------------------------
>> 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
>>
>>
>
>
> --
> Regards,
> Abhijeet Rastogi (shadyabhi)
> https://plus.google.com/107316377741966576356/
>
>
> -------------------------------------------------------------------
> 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
>
>

-------------------------------------------------------------------
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 2011-11-16