Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have script for downloading large files in a queue. Now I would really appreciate it, if I had a decent log. Specifying the -o or -a option is apparently specially made for that, however as of the time I am writing this "very large files", as the manpage states, are no longer 50m of size but rather gigabytes. --progress=dot:mega produces 1000 lines of output (plainly it will be 3000*80 dots ('.')) just for a 3GB file. So I am wondering: is there any way to customize the progress style settings, so that i can actually make use of the log feature?

share|improve this question
up vote 8 down vote accepted

I went down a big long path of playing with modifying the wget output on the fly because I couldn't figure this out either. Then I found this debian bugreport which led me to the -e dotbytes=X option in wget. I tested this and it works with my wget-1.12:

wget blah --progress=dot -e dotbytes=10M

prints a dot for every 10M of output. You can use 1000M or whatever you like.

share|improve this answer

I know this is a bit out of date, but just for completeness there is also a dot:giga style with wget-1.12

wget blah --progress=dot:giga

From the man page:

If "mega" is not enough then you can use the "giga" style---each dot represents 1M retrieved, there are eight dots in a cluster, and 32 dots on each line (so each line contains 32M).

This is not as flexible as the -e, --execute option, but it is a pre-packaged alternative

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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