2015年6月12日 星期五

Using plink and pscp to transfer files between Windows and Linux


1. From Local Windows to Remote Windows

cmd.exe
pscp .\* loginname@167.76.24.217:D:\TEMP\

2. From Remote Windows to Local Windows

pscp -r  loginname@10.32.29.201:E:\\Tommy\\RMS\\T3 .\

Notice thet the remote path T3 is a folder, without ending slashes, or else it will give you "warning: remote host sent a compound pathname 'blar blar blar' renaming local file to ''

沒有留言:

張貼留言

202501 Debian USB LAN Card Bridge

 202501 Debian USB LAN Card Bridge ChatGPT Question I have a machine running debian 12 with a LAN port using a cable to connect to my office...