Skip to contents

Makes dest identical to src, deleting files in dest that are not in src. Use rclone_copy() if you do not want deletions.

Usage

rclone_sync(src, dest, progress = FALSE, ...)

Arguments

src

Source path (local or remote).

dest

Destination path (local or remote).

progress

Logical; show transfer progress. Default FALSE.

...

Additional rclone flags as character strings.

Value

Invisibly, the rclone result list.

Examples

if (FALSE) { # \dontrun{
rclone_sync("myremote:bucket", "/local/backup")
} # }