• 请不要在回答技术问题时复制粘贴 AI 生成的内容
wang2191195
V2EX  ›  程序员

如何在windows上使用rsync?

  •  
  •   wang2191195 · Jul 26, 2013 · 5567 views
    This topic created in 4697 days ago, the information mentioned may be changed or developed.
    试过了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 replies    1970-01-01 08:00:00 +08:00
    pubby
        1
    pubby  
       Jul 26, 2013   ❤️ 1
    都走ssh了,rsync://path/to/project/doc 这里应该直接 user@host:/path-to-doc 吧
    wang2191195
        2
    wang2191195  
    OP
       Jul 26, 2013
    @pubby =。= 发现问题了 自己脑残在.bashrc里面更新了PATH 还很高兴的打了个echo "PATH Updated!" 每次rsync ssh登陆上去最先收到这个…………
    多谢
    cj1324
        3
    cj1324  
       Jul 26, 2013
    @wang2191195 这样的二 我也犯过。。
    wang2191195
        4
    wang2191195  
    OP
       Jul 26, 2013 via iPhone
    @cj1324 =_= 不能忍啊……
    clippit
        5
    clippit  
       Jul 26, 2013
    装MinGW吧,里面有rsync的
    wang2191195
        6
    wang2191195  
    OP
       Jul 26, 2013 via iPhone
    @clippit 已经搞定了 ^.^
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2861 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 12:04 · PVG 20:04 · LAX 05:04 · JFK 08:04
    ♥ Do have faith in what you're doing.