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 ?


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
| improve this answer | |

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.