llsync | R Documentation |
This function syncs files between the local machine and a remote server, specifically the Longleaf cluster at UNC. The synchronization is done using the rsync command. The function checks if either the source or the destination path starts with "/proj", and if so, it adds the remote server address before the path.
llsync(path_from, path_to, onyen = "natehall")
path_from |
character, the source path of the file(s) to be synced. |
path_to |
character, the destination path where the file(s) will be synced. |
onyen |
user's onyen. defaults to nate's. |
Prints the output of the rsync command.
llsync("/local/path/file", "/proj/remote/path/")
llsync("/proj/remote/path/file", "/local/path/")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.