方法
# wget -r -np --reject=html https://xxx.com/download/k8s/
-r,--
recursive(递归) specify recursive download.(指定递归下载)
-k,--
convert-links(转换链接) make links in downloaded HTML point to local files.(将下载的HTML页面中的链接转换为相对链接即本地链接)
-p,--
page-requisites(页面必需元素) get all images, etc. needed to display HTML page.(下载所有的图片等页面显示所需的内容)
-np,--
no-parent(不追溯至父级) don’t ascend to the parent directory.
-a <日志文件>,在指定的日志文件中记录资料的执行过程;
-A <后缀名>,指定要下载文件的后缀名,多个后缀名之间使用逗号进行分隔;
-b,进行后台的方式运行wget;
-B <连接地址>:设置参考的连接地址的基地地址;
-c,继续执行上次终端的任务;
-C <标志>,设置服务