Super User is a question and answer site for computer enthusiasts and power users. 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 know you can download webpages recursively using wget, but is it possible to do a dry-run? So that you could sort of do a test-run to see how much would be downloaded if you actually did it? Thinking about pages that have a lot of links to media files like for example images, audio or movie files.

share|improve this question

You can use the --spider switch.

share|improve this answer
Don't forget the -nd (don't create directories) flag if you use it with the -r (recursive) flag. – Skippy le Grand Gourou Jan 10 '14 at 19:29

No, but you can use -R to reject media files until you're ready to actually download them.

share|improve this answer
Would you get any indication on how much you rejected? – Svish Apr 5 '10 at 20:45

Your Answer


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.