Transferring from Windows to Linux with rsync

后端 未结 3 1517
面向向阳花
面向向阳花 2021-02-10 08:46

noob here,

I\'m trying to transfer a file using rsync from windows to linux. I have this code, but I\'m getting an error

rsync -avz -e ssh C:\\users\\fil         


        
3条回答
  •  南方客
    南方客 (楼主)
    2021-02-10 09:41

    If you're using CygWin to rsync from the Windows box, the local file you want is almost certainly:

    /cygdrive/c/users/file.txt
    

    rather then:

    /c/users/file.txt
    

提交回复
热议问题