会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Rayox
Socrates says he will be drowned in laughter but many other people have taken this dream or this aspiration very seriously.
博客园
首页
新随笔
联系
管理
订阅
2016年6月8日
push or get File or Folder using scp wrapped with expect and bash
摘要: 经常需要把服务器的某些文件传到 Mac,或者获取 Mac 的一些文件到服务器。尽管有很多命令scp, ftp, rsync都可以,霸特每次都有敲好长的命令,好烦,而且还要输入密码。所以想着 wrap 到 expect 脚本这样密码什么的都不用输入了。 下面这个是放在服务器端的,用于把file/fol
阅读全文
posted @ 2016-06-08 15:44 乌祁班岚图
阅读(171)
评论(0)
推荐(0)
编辑
公告