powered by
Copies a file or directory, possibly across FileSystems.
mssparkutils.fs.cp(from, to, recurse = FALSE)
FALSE to mimic the result if file or directory from fail to copy to to.
from
to
FileSystem URI of the source file or directory
FileSystem URI of the destination file or directory
if TRUE, all files and directories will be recursively copied
mssparkutils.fs.cp("/tmp/my-folder/a", "adls://xxx/tmp/b") mssparkutils.fs.cp("/tmp/my-folder/a", "adls://xxx/tmp/b", TRUE)
Run the code above in your browser using DataLab