指令碼如下:. #!/usr/bin/expect -f. set password 密碼. spawn scp 使用者名稱@目標機器ip:複製檔案的路徑存放本地檔案的路徑. set timeout 300.
確定! 回上一頁