Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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 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

 
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.