rsync: Conduct an rsync with a remote host

Description Usage Arguments

Description

Uses a pair of system calls to rsync, so rsync needs to be installed and the current user needs to have credentials to login to the remote host automatically.

Usage

1
rsync(remote_host, remote_folder = NULL, local_folder = NULL, dry_run = F)

Arguments

remote_host:

the hostname of the remote host to sync with

remote_folder:

the remote folder to sync with (defaults to data.folder())

local_folder:

the local folder to sync (defaults to data.folder())

dry_run:

if TRUE, don't actually do the syncing, just check what would be done (i.e. rsync –dry-run)


vanatteveldt/datasync documentation built on May 3, 2019, 2:59 p.m.