Most commonly used to upload and download files between local filesystem and remote S3 store.
Arguments
- from
Character string specifying the source file or directory path. Can accept a vector of file paths as well.
- to
Character string specifying the destination path.
- recursive
Logical indicating whether to recursively copy directories. Default is
FALSE
.- flags
any additional flags to
cp
- verbose
Logical indicating whether to report files copied. Default is
FALSE
.
Value
Returns the list from processx::run()
, with components status
,
stdout
, stderr
, and timeout
; invisibly.