mssparkutils.fs.cp: Copies a file or directory, possibly across FileSystems.

mssparkutils.fs.cpR Documentation

Copies a file or directory, possibly across FileSystems.

Description

Copies a file or directory, possibly across FileSystems.

Usage

mssparkutils.fs.cp(from, to, recurse = FALSE)

Arguments

from

FileSystem URI of the source file or directory

to

FileSystem URI of the destination file or directory

recurse

if TRUE, all files and directories will be recursively copied

Value

FALSE to mimic the result if file or directory from fail to copy to to.

Examples

mssparkutils.fs.cp("/tmp/my-folder/a", "adls://xxx/tmp/b")
mssparkutils.fs.cp("/tmp/my-folder/a", "adls://xxx/tmp/b", TRUE)


notebookutils documentation built on May 29, 2024, 12:08 p.m.