0

我正在尝试使用 wget 获取 svn 存储库。我有:

wget -m -np http://svn.wikia-code.com/wikia/releases/release-126/

这不起作用,并且开始拉下上面的所有内容。我只想要发布 126 文件夹及其包含的所有内容。

请问正确的语法是什么?

我找到的解决方案:

wget -r -np http://svn.wikia-code.com/wikia/releases/release-126/

4

1 回答 1

0

You are getting higher-level directories because the -m switch for wget follows all links. The first link on the directory listing points to the parent directory.

As others have correctly pointed out, you should be checking out the code with svn co, or following the project's instructions for acquiring & installing the software.

于 2012-09-30T13:24:08.917 回答