danielschubert / syncer

Simple script to sync remote dirs via SCP or FTP. Written in Ruby.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

syncer

Simple script to sync remote dirs via SCP or FTP. Written in Ruby.

Syncer simply copies a directory from or to a remote location either by using ftp or scp and creates a local git repo if wished; You need to give a config file with the following key = value options:

  • ip = remote_host
  • user = user_name
  • pw = secret_password
  • remote_dir = htdocs/www_site
  • local_dir = local_directory
  • method = [ ftp | scp ]
  • git = [ true | false ]
  • port = port_number (optional)

About

Simple script to sync remote dirs via SCP or FTP. Written in Ruby.

License:MIT License


Languages

Language:Ruby 100.0%