我想用linux远程将文件从linux复制到windows。虽然rcp cmd不支持“c:”。我怎样才能转到c:\
rcp /home/CommonFuncs.pm windows2003:C:/CommonFuncs.pm
Winsock RSHD/NT: Error 3 executing '/usr/lib/sunw,rcp -tZ C:/CommonFuncs.pm' The system cannot find the path specified.
rcp /home/CommonFuncs.pm windows2003:C:/CommonFuncs.pm
Winsock RSHD/NT: Error 3 executing '/usr/lib/sunw,rcp -tZ C\:/CommonFuncs.pm' The system cannot find the path specified.
答案 0 :(得分:2)
而是尝试使用scp
命令,如下所示
scp /home/CommonFuncs.pm user@hostname:C:\CommonFuncs.pm