摘要: step1.首先expect编写一个脚本文件rsync.expect,实现文件同步的脚本。 [root@localhost ~/syncList]#vim syncFile.expect #!/usr/bin/expect set host [lindex $argv 0] set file [li 阅读全文
posted @ 2018-05-13 20:49 sisul 阅读(463) 评论(0) 推荐(0) 编辑