Uses a pair of system calls to rsync, so rsync needs to be installed and the current user needs to have credentials to login to the remote host automatically.
1 |
remote_host: |
the hostname of the remote host to sync with |
remote_folder: |
the remote folder to sync with (defaults to data.folder()) |
local_folder: |
the local folder to sync (defaults to data.folder()) |
dry_run: |
if TRUE, don't actually do the syncing, just check what would be done (i.e. rsync –dry-run) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.