3

I'm using Curl in Cygwin to automate a daily download. I want to keep progress in a log but Curl is just a little too noisy for my taste. I tried man curl and Google, but didn't find anything.

Can I slow down the frequency at which Curl reports progress?

1

The only thing I can think of is straight ripped off from the manual page, section PROGRESS METER:

   If you prefer a progress "bar" instead of the regular meter, -# is your
   friend.

Example:

delicious:~ ajanssen$ curl -# http://www.heise.de > bla
######################################################################## 100,0%

Vs:

delicious:~ ajanssen$ curl http://www.heise.de > bla
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   98k    0   98k    0     0   164k      0 --:--:-- --:--:-- --:--:--  169k
  • Thanks. I did see that but not quite what I was looking for – transistor1 Oct 5 '12 at 0:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.