我正在尝试将iPhone的根文件夹通过ssh同步到/home/Ryan/Downloads/iphone上的一个文件夹中。
$ rsync-e ssh root@192.168.0.74:/ /home/Ryan/Downloads/iphone然后在打印时输入密码,然后收到以下内容:
sh: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [reciever]
rsync error: remote command not found (code 127) at io.c(235) [reciever=3.1.2] 我知道这是设备的正确IP和名称,因为我可以使用ssh本身并使用dir来显示要复制的文件夹。
发布于 2021-04-06 14:31:38
远程客户端没有安装rsync,这将生成sh: rsync: command not found错误。
这里也提出了同样的问题:https://superuser.com/questions/1432412/rsync-installed-but-still-getting-an-error-command-not-found/1432433
另一种方法是通过NFS、SMB、SSHFS、.这里有一个例子:https://unix.stackexchange.com/questions/204530/copy-from-remote-server-which-doesnt-have-rsync
https://askubuntu.com/questions/1329577
复制相似问题