linux:command-wget
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | linux:command-wget [2016/05/05 13:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== wget usage ====== | ||
+ | Refer to: | ||
+ | ===== wget --mirror ===== | ||
+ | 下载整站 | ||
+ | < | ||
+ | 方法:用--mirror参数 | ||
+ | |||
+ | 当你要下载一个完整站点并实现本地浏览的时候, | ||
+ | wget --mirror -p --convert-links -P ./LOCAL-DIR WEBSITE-URL | ||
+ | |||
+ | 参数讲解: | ||
+ | --mirror:设置这个参数用来建立本地镜像 | ||
+ | -p:下载所有html文件适合显示的元素 | ||
+ | --convert-links:下载完成后,将文档链接都转换成本地的 | ||
+ | -P ./ | ||
+ | </ |
/var/www/dokuwiki/wiki/data/pages/linux/command-wget.txt · Last modified: 2016/05/05 13:07 by 127.0.0.1