使用 command’scp'时出现'no such file or directory'的问题如何解决


需要上传至服务器的文件夹放在桌面,请问为什么会出现“no such file or directory”的提示

scp 不好用,用 rsync 吧:
https://rsync.samba.org/download.html

scp 和 cp 使用方法类似
你先 pwd 和 ls 看看当前目录和内容对不对

你开的 terminal 是服务器上的
image

在本机上$scp 本机文件 目的地址