curl-users
Re: Option to Suppress cURL Output
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Wed, 23 Nov 2011 15:36:38 +0100
Date: Wed, 23 Nov 2011 15:36:38 +0100
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
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-23