User Tools

Site Tools


linux:command-wget
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


Last revision
linux:command-wget [2012/10/12 22:01] – created percy
Line 1: Line 1:
 +====== wget usage ======
 +Refer to:http://blog.chinaunix.net/uid-14735472-id-111049.html
  
 +===== wget --mirror =====
 +下载整站
 +<code>
 +方法:用--mirror参数
 +
 +当你要下载一个完整站点并实现本地浏览的时候,
 +wget --mirror -p --convert-links -P ./LOCAL-DIR WEBSITE-URL
 +
 +参数讲解:
 +--mirror:设置这个参数用来建立本地镜像
 +-p:下载所有html文件适合显示的元素
 +--convert-links:下载完成后,将文档链接都转换成本地的
 +-P ./LOCAL-DIR:保存所有的文件和目录到指定文件夹下
 +</code>
/var/www/dokuwiki/wiki/data/pages/linux/command-wget.txt · Last modified: 2016/05/05 13:07 by 127.0.0.1