Lines Matching defs:copy
387 # FileUtils.cp 'symlink', 'dest' # copy content, "dest" is not a symlink
399 alias copy cp
400 module_function :copy
403 OPT_TABLE['copy'] = [:preserve, :noop, :verbose]
422 # # If you want to copy all contents of a directory instead of the
457 # If +remove_destination+ is true, this method removes each destination file before copy.
463 ent.copy destent.path
842 # This method removes destination before copy.
1339 def copy(dest)
1345 raise ArgumentError, "cannot copy directory %s to itself %s" % [path, dest]
1650 # p FileUtils.collect_method(:preserve) #=> ["cp", "cp_r", "copy", "install"]