V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
wang2191195
V2EX  ›  程序员

如何在windows上使用rsync?

  •  
  •   wang2191195 · 2013-07-26 13:56:25 +08:00 · 4567 次点击
    这是一个创建于 3920 天前的主题,其中的信息可能已经有所发展或是发生改变。
    试过了cwRsync
    rsync -e "ssh -p 36000" rsync://path/to/project/doc doc
    可是提示
    rsync: server sent "PATH Updated!" rather than greeting
    rsync error: error starting client-server protocol (code 5) at main.c(1516) [Receiver=3.0.9]
    很无奈 不知道哪里有问题。。谷歌也没帮上我-。-
    6 条回复    1970-01-01 08:00:00 +08:00
    pubby
        1
    pubby  
       2013-07-26 14:18:19 +08:00   ❤️ 1
    都走ssh了,rsync://path/to/project/doc 这里应该直接 user@host:/path-to-doc 吧
    wang2191195
        2
    wang2191195  
    OP
       2013-07-26 14:54:10 +08:00
    @pubby =。= 发现问题了 自己脑残在.bashrc里面更新了PATH 还很高兴的打了个echo "PATH Updated!" 每次rsync ssh登陆上去最先收到这个…………
    多谢
    cj1324
        3
    cj1324  
       2013-07-26 15:12:43 +08:00
    @wang2191195 这样的二 我也犯过。。
    wang2191195
        4
    wang2191195  
    OP
       2013-07-26 15:18:31 +08:00 via iPhone
    @cj1324 =_= 不能忍啊……
    clippit
        5
    clippit  
       2013-07-26 19:52:51 +08:00
    装MinGW吧,里面有rsync的
    wang2191195
        6
    wang2191195  
    OP
       2013-07-26 19:54:44 +08:00 via iPhone
    @clippit 已经搞定了 ^.^
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2699 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 15:03 · PVG 23:03 · LAX 08:03 · JFK 11:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.