我試圖從遠程Ubuntu機複製到本地Windows:無法從遠程複製到本地
pscp [email protected]:/home/www/file c:\xampp\htdocs
而是當地的我都會得到C得到一個副本:遠程上創建xampphtdocs文件。
我指的這個http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter5.html
我到底做錯了什麼?
謝謝。
我試圖從遠程Ubuntu機複製到本地Windows:無法從遠程複製到本地
pscp [email protected]:/home/www/file c:\xampp\htdocs
而是當地的我都會得到C得到一個副本:遠程上創建xampphtdocs文件。
我指的這個http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter5.html
我到底做錯了什麼?
謝謝。
pscp
不能很好地處理您的路徑中的冒號,它認爲c
是遠程服務器。如果使用相對路徑是這樣,它應該爲你工作:
c:\
pscp [email protected]:/home/www/file \xampp\htdocs
http://unix.stackexchange.com/questions/219485/issue-with-character-in-bash-script-over-ssh/ 219639#219639 – Kenster