Sha256: 92a327792a8663dfe106fa52be495db82d9346ee30e8fd8f9641df21de11c5d5

Contents?: true

Size: 547 Bytes

Versions: 6

Compression:

Stored size: 547 Bytes

Contents

#!/usr/bin/env ruby
# encoding: utf-8
#
# Introduction:
#   Bidirectional synchronization tool for sftp
#
# Usage:
#   > bdsync_sftp --help
#
# Examples:
#   > bdsync_sftp --site ftp.example.com --user root --local_root_path /tmp/local_test --remote_root_path /tmp/remote_test
#   > bdsync_sftp -s ftp.example.com -u root -l /tmp/local_test -r /tmp/remote_test
#
# Note:
#   > use `direct_ssh` to setup ssh authorization
#

require "optparse"
require "bdsync"

params = ARGV.getopts nil, *Bdsync::Sftp.options
Bdsync::Sftp.new(params).synchronize

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bdsync-2.3.1 exe/bdsync_sftp
bdsync-2.3.0 exe/bdsync_sftp
bdsync-2.2.0 exe/bdsync_sftp
bdsync-2.1.2 exe/bdsync_sftp
bdsync-2.1.1 exe/bdsync_sftp
bdsync-2.1.0 exe/bdsync_sftp