我正在尝试使用 cwrsync 端口在 Windows 上运行 rsync。
我发出以下命令(请注意,这只是试运行):
rsync -nPaAz foouser@webxx.example.com:/home/foobar/webapps/barbaz/ C:\\mybackupfolder\
Run Code Online (Sandbox Code Playgroud)
但我收到以下错误
The source and destination cannot both be remote.
rsync error: syntax or usage error (code 1) at main.c(1148) [Receiver=3.0.8]
Run Code Online (Sandbox Code Playgroud)
有人能指出我正确的方向吗?