How to download all the files in a website

下载一个website特定目录下的所有文件,可以使用Wget软件。

wget -r -np -nH -R index.html http://url/including/files/you/want/to/download/

解释一下各个参数的含义:

-r : 遍历所有子目录
-np : 不到上一层子目录去
-nH : 不要将文件保存到主机名文件夹
-R index.html : 不下载 index.html 文件

Windows环境下Wget软件链接: http://pan.baidu.com/s/1xtu2M 密码: ul3f