share/rbbt_commands/rsync in rbbt-util-5.26.76 vs share/rbbt_commands/rsync in rbbt-util-5.26.77
- old
+ new
@@ -26,18 +26,19 @@
puts SOPT.doc
end
exit 0
end
-excludes = %w(.save .crap .source tmp filecache open-remote workflows apps software jobs sinatra PCAWG)
+#excludes = %w(.save .crap .source tmp filecache open-remote workflows apps software jobs PCAWG)
+excludes = %w(.save .crap .source tmp filecache open-remote)
excludes += (options[:exclude] || "").split(/,\s*/)
excludes_str = excludes.collect{|s| "--exclude '#{s}'" } * " "
test_str = options[:test] ? '-nv' : ''
source, target, _sep, *other = ARGV
-cmd = "rsync -at #{test_str} #{excludes_str} #{source} #{target} #{other * " "}"
+cmd = "rsync -atAX #{test_str} #{excludes_str} #{source} #{target} #{other * " "}"
if options[:print]
puts cmd
exit 0
else