notebookutils.fs.mv: Moves a file or directory, possibly across FileSystems.
For intra-FileSystem, it is implemented by hadoop fs rename operation.
For inter-FileSystem, This is implemented as a copy followed by delete.
Description
Moves a file or directory, possibly across FileSystems.
For intra-FileSystem, it is implemented by hadoop fs rename operation.
For inter-FileSystem, This is implemented as a copy followed by delete.
Usage
notebookutils.fs.mv(from, to, createPath = FALSE, overwrite = FALSE)
Value
FALSE to mimic the result of mv operation fail.
Arguments
from
FileSystem URI of the source file or directory.
to
FileSystem URI of the destination file or directory.
createPath
if TRUE, will firstly create the parent dir if not exists before move op.
overwrite
if TRUE, will overwrite the destination folder if exists.