Capistrano like tool in bash