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.

when a download with wget and user the argument

wget url --no-remove-listing

I can save the .listing file.

but, How I can download only the .listing file ?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You can use the --spider option to prevent wget from downloading anything. The .listing file will still be created, of course.

wget url --spider --no-remove-listing
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.