7z 通过管道传输 svn 转储似乎不起作用
我的问题与这篇文章有关: 在 Windows 命令提示符上传输数据
我尝试使用以下命令通过 7zip 转储存储库命令但我收到错误:
不支持此类接口 svnadmin: E720232: 无法写入流: 管道正在关闭。
我不知道我是如何让它工作的,但我最初能够通过 7zip 传递它,但它不再工作了。这是我使用的命令行:
svnadmin dump "D:\Users Shared Folders\Repositories\APC10738\" | C:\"Program Files"\7-Zip\7z.exe a -si "D:\svndumps\APC10738.zip"
我最初能够将其传递给 7zip,但 -tgzip 开关不起作用。我想要的是 gzip 所有这些,然后将其传输到我的新的基于 linnux 的服务器并将其恢复到我的新的 svn 服务器中。
有人知道我做错了什么吗?
My question is relative to this post:
Piping data on Windows command prompt
I tried to dump repositories through 7zip using the following command but i get an error:
No such interface supported svnadmin: E720232: Can't write to stream:
The pipe is being closed.
I don't know how i made it work, but i was originaly able to pass it on through 7zip, but it doesn't work anymore. Here is the command line i use:
svnadmin dump "D:\Users Shared Folders\Repositories\APC10738\" | C:\"Program Files"\7-Zip\7z.exe a -si "D:\svndumps\APC10738.zip"
I was originally able to pass it on to 7zip but the -tgzip switch didn't work. What i'd like is to gzip all this and then transfer it to my new linnux based server and restore it into my new svn server.
Anyone know what i'm doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没关系,我发现我的路径有点长,所以我进入环境变量管理器并添加 7-zip 的路径和 svnadmin 的路径,大大缩短了我的路径,突然一切正常了:S
Never mind, i found my paths a bit to long so i went in the environment variable manager and added the path to 7-zip and the path to svnadmin shortening my paths by a lot and suddenly everything works :S