cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Option to Suppress cURL Output

From: Nate Jensen <natejensen88_at_gmail.com>
Date: Wed, 23 Nov 2011 09:47:07 -0500

Awesome thanks! That worked!

On Wed, Nov 23, 2011 at 9:36 AM, Linus Nielsen Feltzing <linus_at_haxx.se>wrote:

> On 11/23/2011 03:30 PM, Nate Jensen wrote:
>
>> Can I suppress those first few initial lines?
>> Can I suppress the cURL output in the middle of my data?
>> I want what I downloaded to look like:
>>
>> Actual data line 1 ...
>> Actual data line 2 ...
>> Actual data line 3 ...
>> Actual data line 4 ...
>>
>> Is there an option to do this easily?
>>
>
> Try the -s (--silent) option:
>
> curl -s -o output.txt http://www.example.com
>
> Linus
> ------------------------------**------------------------------**-------
> List admin: http://cool.haxx.se/list/**listinfo/curl-users<http://cool.haxx.se/list/listinfo/curl-users>
> FAQ: http://curl.haxx.se/docs/faq.**html<http://curl.haxx.se/docs/faq.html>
> Etiquette: http://curl.haxx.se/mail/**etiquette.html<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-23