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 ''

沒有留言:

張貼留言

2025 My Hardware Personal Computer Used

 2025 My Hardware Personal Computer Used Check Ubunut sudo dmidecode -t 2 sudo lsblk -o NAME,FSTYPE,LABEL,MOUNTPOINT,SIZE,MODEL 2025 Intel(R...