module FileUtils

Public Class Methods

mv(src, dest, options = {}) click to toggle source

Override mv to avoid several bugs (Errno::EACCES in Windows, Errno::ENOENT

with relative softlinks on Linux), by forcing to copy and delete instead

@see {FileUtils::mv} @see {safe_mv}

# File lib/transcriptic/core_ext/file_utils.rb, line 10
def mv(src, dest, options = {})
  FileUtils.cp_r(src, dest, options)
  FileUtils.rm_rf(src)
end