rsync -avz -e "ssh -p {{rsync.options.port}}" --stats {{rsync.origin.user}}@{{rsync.origin.host}}:"{{rsync.origin.path}}" {{rsync.destination.user}}@{{rsync.destination.host}}:"{{rsync.destination.path}}"

Origin

Destination

Options

Specift a port number to SSH over (if requred).

Tips

Use the pwd command to return the full path to the current directory.

To move the whole folder don't include a slash:

folder-name

To move just the folder contents follow the folder with a slash:

folder-name/