remote.copy.from.Rd
Copy file/dir from remote server to local server
remote.copy.from(
host,
src,
dst,
options = NULL,
delete = FALSE,
stderr = FALSE
)
list with server, user and optionally tunnel to use.
remote file/dir to copy
local file/dir to copy to
to be passed to rsync command, if nothing is specified everything will be rsynced
in case of local dir should all non-existent files be removed
should stderr be returned
output of command executed
Copies the file/dir from the remote server to the local server. If the dst is a folder it will copy the file into that folder.
if (FALSE) { # \dontrun{
host <- list(name='geo.bu.edu', user='kooper', tunnel='/tmp/geo.tunnel')
remote.copy.from(host, '/tmp/kooper', '/tmp/geo.tmp', delete=TRUE)
} # }