mina-scp
mina-scp copied to clipboard
Download/upload helpers for Mina deployer using SCP
Mina SCP
Basic SCP helpers for Mina deployer. Used to download/upload files from/to the server.
Installation
Add this line to your application's Gemfile:
gem 'mina-scp', require: false
Usage
Require it in your deploy.rb
require 'mina/scp'
Download file from the server
scp_download(remote_file, local_file)
Upload file to the server
scp_upload(local_file, remote_file)
Options
If you specify verbose: true
as the last parameter, it will print the SCP command before running it.
If you want upload or download a folder you can also pass recursively: true
.
Development
For suggestions, bugs and pull requests, use GitHub Issues. See CONTRIBUTING for more details.
To see what has changed in recent versions of Mina SCP, see the CHANGELOG.
Contributors
See https://github.com/adie/mina-scp/graphs/contributors
Copyright
Copyright © 2013-2015 Anton Dieterle. See LICENSE for details.
Project is a member of the OSS Manifesto.