Clojure-Control 0.3.0 is out

简介:
  Clojure-control is a clojure DSL for system admin and deployment with many remote machines via ssh. 
    
    I am pleased to annoucment that clojure-control 0.3.0 is out.It adds some  powerful features in this release ,includes:
  • ssh and scp both have a new option :sudo  to be executed as root on remote machines,for example:
     
  • scp has a new  option :mode to change file modes copied from local: 
     
  • A  new function "exists?" to test if a file exists on remote machines:  
     
  • Call other task in deftask with "call" function:
     
  • A new function "append" to append a line to a file on remote machines:
     
  • A new function "sed" to replace lines in a file on remote machines,and comm/uncomm to comment/uncomment a line in a file:
     

    Equivalent to

     
   You can install the new version by :
    lein plugin install control  0.3 .0            # For clojure 1.3
    lein plugin install control  0.3 . 1             # For clojure 1.2

    More information please visit it on github: https://github.com/killme2008/clojure-control 文章转自庄周梦蝶  ,原文发布时间 2012-02-18
目录
相关文章
|
分布式计算 资源调度 大数据
黑马程序员-大数据入门到实战-MapReduce & YARN入门
黑马程序员-大数据入门到实战-MapReduce & YARN入门
372 0
|
SQL 弹性计算 开发框架
【ECS生长万物之开源】手动搭建Drupal网站
Drupal是使用PHP语言编写的开源内容管理框架(CMF),它由内容管理系统(CMS)和PHP开发框架(Framework)共同构成。它用于构造提供多种功能和服务的动态网站,能支持从个人博客到大型社区等各种不同应用的网站项目。本教程适用于熟悉Linux系统,刚开始使用阿里云进行建站的用户。
|
Kubernetes 安全 Linux
K8S集群安装
K8S集群安装
799 0
|
5月前
|
安全 Linux 虚拟化
VMware Tools 13.0.5.0 发布 - 客户机操作系统无缝交互必备组件
VMware Tools 13.0.5.0 发布 - 客户机操作系统无缝交互必备组件
700 4
番茄工作方法以及番茄工作表
番茄工作方法以及番茄工作表
515 0
|
搜索推荐
有趣的网站分享——福音戰士標題生成器
有趣的网站分享——福音戰士標題生成器
2775 0
|
存储 Linux 网络安全
如何在 Linux 中删除 SSL 证书和 SSH 密码?
如何在 Linux 中删除 SSL 证书和 SSH 密码?
874 1
如何在 Linux 中删除 SSL 证书和 SSH 密码?
|
canal 架构师 数据库
处理亿级数据的“定时任务”,如何缩短执行时间?
一次性集中处理大量数据的定时任务,优化思路是:同一份数据,减少重复计算次数;分摊CPU计算时间,尽量分散处理(甚至可以实时),而不是集中处理;减少单次计算数据量。
1949 0
处理亿级数据的“定时任务”,如何缩短执行时间?
|
C语言
C语言(9)----NULL、null(或者NUL)、\0、0、‘0’几者之间的区别
C语言(9)----NULL、null(或者NUL)、\0、0、‘0’几者之间的区别
841 0