Sha256: 2ab4eefb03c611c0070530bd833f18a18d507477dc90ab91504669c476bb71cb
Contents?: true
Size: 833 Bytes
Versions: 162
Compression:
Stored size: 833 Bytes
Contents
#!/usr/bin/env ruby require 'rbbt-util' require 'rbbt/util/simpleopt' require 'rbbt/workflow' require 'rbbt/workflow/remote_workflow' $0 = "rbbt #{$previous_commands*""} #{ File.basename(__FILE__) }" if $previous_commands options = SOPT.setup <<EOF RSync a directory, commonly ~/.rbbt/ $ rbbt migrate [options] <job_path> <search_path> You can specify extra rsync options after -- -h--help Print this help -t--test Do a verbose dry run -p--print Print command -d--delete Delete source file when moved -s--source* Source server -t--target* Target server -r--recursive Recursively move all deps EOF if options[:help] if defined? rbbt_usage rbbt_usage else puts SOPT.doc end exit 0 end path, search_path, _sep, *other = ARGV search_path = 'user' if search_path.nil? Step.migrate(path, search_path, options)
Version data entries
162 entries across 162 versions & 1 rubygems