RSync file transfer on a different port

To transfer file to a different port using RSync:
<i> rsync -avz --progress --rsh='ssh -p1516' source user@host:destDir/ </i>

rsync -avz -e "ssh -p $portNumber" user@remoteip:/path/to/files/ /local/path/

The source can be a file or a directory to be copied to the destination directory

--source:
http://www.linuxquestions.org/questions/linux-software-2/rsync-ssh-on-di...
http://mike-hostetler.com/blog/2007/12/08/rsync-non-standard-ssh-port/

Technologies: