A wrapper around the rsync shell command that allows copying between remote hosts via the local machine.
rsync_remote(
remote_src,
path_src,
remote_dest,
path_dest,
compress = TRUE,
delete = "no",
exclude = NULL,
verbose = FALSE
)
Remote machine for the source, see the section below 'Specifying a remote'.
Path of the source file.
Remote machine for the destination, see the section below 'Specifying a remote'.
Path for the source file; can be a directory.
Whether or not to compress the data being transferred.
Whether or not to delete files at the target remote. Use "yes"
to delete files at the remote.
A vector of files / regexs to be excluded.
Prints elapsed time if TRUE.
A remote can be specified in one of the following ways:
A character vector in format user@ipaddress:port
,
The name of a Host in the ~/.ssh/config
file,
FALSE
for the local machine,
TRUE
for the default remote specified as get_default_qsub_config()$remote
.