上传文件
scp /some/local/directory/watsy.txt your_username@remotehost:/some/remote/directory/上传文件夹
scp -r /some/local/directory/ your_username@remotehost:/some/remote/directory/
下载文件
scp your_username@remotehost.edu:foobar.txt /some/local/directory
文件夹同上传,用-r命令

本文详细介绍了如何使用SCP命令进行文件及文件夹的上传与下载操作。包括基本语法、使用场景及注意事项等内容。

被折叠的 条评论
为什么被折叠?



