首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >有没有一种快速下载回购目录的方法?

有没有一种快速下载回购目录的方法?
EN

Unix & Linux用户
提问于 2014-07-11 13:58:13
回答 1查看 2.1K关注 0票数 0

我实际上是在一台windows机器上工作,试图从他们的金库中检索centOS 5.4。我没有解压缩软件,所以我不想使用iso的,我想知道是否有一种简单的方法可以在浏览器中获取目录的所有内容。

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2014-07-11 16:42:58

您可以使用wget (适用于窗户) (或通过凯温)递归下载站点,

代码语言:javascript
运行
复制
$ 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/

备选方案如下:

代码语言:javascript
运行
复制
--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).
票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/143996

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档