notebookutils.fs.mv | R Documentation |
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.
notebookutils.fs.mv(from, to, createPath = FALSE, overwrite = FALSE)
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. |
FALSE to mimic the result of mv operation fail.
notebookutils.fs.mv("/tmp/my-folder/", "adls:/xxx/tmp/b")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.