Low-level wrapper that runs any rclone command. Higher-level functions like
rclone_copy(), rclone_ls(), etc. call this internally.
Usage
rclone(args = character(), env = NULL, echo = FALSE, error_on_status = TRUE)Arguments
- args
Character vector of arguments passed to rclone (the command and its flags). Alternatively a single space-delimited string.
- env
Named character vector of environment variables, or
NULL.- echo
Logical; if
TRUE, print stdout/stderr as it is produced. DefaultFALSE.- error_on_status
Logical; if
TRUE(default), stop with an error when rclone exits with a non-zero status.
Examples
if (FALSE) { # \dontrun{
rclone("version")
rclone(c("ls", "myremote:mybucket"))
} # }