rsync_remote {qsub}R Documentation

Rsync files between machines

Description

A wrapper around the rsync shell command that allows copying between remote hosts via the local machine.

Usage

rsync_remote(
  remote_src,
  path_src,
  remote_dest,
  path_dest,
  compress = TRUE,
  delete = "no",
  exclude = NULL,
  verbose = FALSE
)

Arguments

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 "yes" to delete files at the remote.

exclude

A vector of files / regexs to be excluded.

verbose

Prints elapsed time if TRUE.

Specifying a remote

A remote can be specified in one of the following ways:


[Package qsub version 1.1.3 Index]