Description Usage Arguments Value Author(s) Examples
Copies the file/dir to the remote server from the local server. If the dst is a folder it will copy the file into that folder.
1 |
host |
host structure to execute command on |
src |
local file/dir to copy |
dst |
remote file/dir to copy to |
options |
additional arguments to be passed to rsync command |
delete |
in case of local dir should all non-existent files be removed |
stderr |
should stderr be returned as well. |
output of command executed
Rob Kooper
1 2 3 4 5 6 7 | ## Not run:
# ssh -n -N -f -o ControlMaster=yes -S ~/tunnel/tunnel hamzed`@`cc-login.campuscluster.illinois.edu
host <- list(name='cc-login.campuscluster.illinois.edu', user='hamzed', tunnel='~/tunnel')
remote.copy.to(host, '~/pSIMS', '/projects/aces/hamzed/psims/Data/NewP', delete=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.