使用 wget 递归复制 grails maven 存储库

Recursive copy of grails maven repository with wget

此 post 是 this one

的一部分

我想将此存储库复制到我的本地计算机上:https://repo.grails.org/grails/core/

为了实现我的目标,我 运行 通宵执行这个 wget 命令:

wget -r -l=inf --no-parent --reject "index.html" https://repo.grails.org/grails/core"

今天早上,wget 命令结束,我进入“.m2e”,而不是像预期的那样有子文件夹“connectors”和“discovery_catalog”,我有一个“index.htm.tmp”文件。

所有文件夹(“.meta”、“.nexus”、“.report”等)都相同。

如何使用 wget 镜像这个 maven 存储库? wget 是正确的工具吗?

提前致谢。

错误是由于 Internet 连接错误。 我在子文件夹上尝试了相同的命令,并且都按预期工作。 抱歉这个问题,由于核心grails存储库中的大量数据,脚本崩溃了,我以为它结束了。