wget \
--recursive \
--no-clobber \
--page-requisites \
--html-extension \
--convert-links \
--restrict-file-names=windows \
--domains mysql.com \
--no-parent \
http://dev.mysql.com/doc/refman/5.1/en/
The options are:
--recursive: download the entire Web site.
递归去下载
--domains mysql.com: don't follow links outside mysql.com.
限制只下载那个域名
--no-parent: don't follow links outside the directory tutorials/html/.
不要下载这个目录上边的文件
--page-requisites: get all the elements that compose the page (images, CSS and so on).
下载页面所包括的一切对象
--html-extension: save files with the .html extension.
把文件按html格式存放
--convert-links: convert links so that they work locally, off-line.
把页面中的连接转化为本地的连接
--restrict-file-names=windows: modify filenames so that they will work in Windows as well.
格式化文件名使可以在Windows下查看.
--no-clobber: don't overwrite any existing files (used in case the download is interrupted and
resumed).
不要复盖任何文件
阅读(853) | 评论(0) | 转发(0) |