Description Usage Arguments Specifying a remote
A wrapper around the rsync shell command that allows copying between remote hosts via the local machine.
1 2 3 4 5 6 7 8 9 10 | rsync_remote(
remote_src,
path_src,
remote_dest,
path_dest,
compress = TRUE,
delete = "no",
exclude = NULL,
verbose = FALSE
)
|
remote_src |
Remote machine for the source, see the section below 'Specifying a remote'. |
path_src |
Path of the source file. |
remote_dest |
Remote machine for the destination, see the section below 'Specifying a remote'. |
path_dest |
Path for the source file; can be a directory. |
compress |
Whether or not to compress the data being transferred. |
delete |
Whether or not to delete files at the target remote. Use |
exclude |
A vector of files / regexs to be excluded. |
verbose |
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
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.