我实际上是在一个视窗机器,尝试检索centOS 5.4从他们的金库中。我没有解压软件,所以我不想使用iso。我想知道是否有一种简单的方法来获取所有内容 这浏览器内的目录。
答案1
$ wget -c \
--recursive \
--no-clobber \
--page-requisites \
--html-extension \
--convert-links \
--restrict-file-names=windows \
--domains vault.centos.org \
--no-parent \
http://vault.centos.org/5.4/os/i386/
选项有:
--recursive: download the entire Web site.
--domains vault.centos.org: don't follow links outside vault.centos.org.
--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.
--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.
--no-clobber: don't overwrite any existing files (used in case the download is interrupted and resumed).