How do I get cURL to not show the progress bar?

前端 未结 6 2067
一向
一向 2020-12-04 05:23

I\'m trying to use cURL in a script and get it to not show the progress bar.

I\'ve tried the -s, -silent,

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-04 05:39

    On MacOS 10.13.6 (High Sierra), the '-ss' option works. It is especially useful inside perl, in a command like curl -ss --get {someURL}, which frankly is a whole lot more simple than any of the LWP or HTTP wrappers, for just getting a website or webpage's contents.

提交回复
热议问题