How to download all files (but not HTML) from a website using wget?

前端 未结 8 978
生来不讨喜
生来不讨喜 2020-11-29 14:19

How to use wget and get all the files from website?

I need all files except the webpage files like HTML, PHP, ASP etc.

8条回答
  •  醉梦人生
    2020-11-29 14:48

    This downloaded the entire website for me:

    wget --no-clobber --convert-links --random-wait -r -p -E -e robots=off -U mozilla http://site/path/
    

提交回复
热议问题