从Linux传文件到Windows;
打开Windows CMD终端
比如我要传输一个typecho_hell.sql的备份数据库文件到Windows,命令如下
scp [email protected]:/root/typecho_hello.sql C:\Users\qinfuyuan
从Windows传文件到Linux;
scp C:\Users\qinfuyuan\typecho_hello.sql [email protected]:/home
如果传输的是目录,文件夹。在scp后面加上-r。
评论 (0)