Rsync via SSH on different port
I wanted to use rsync to download files from a website to my local machine and do it through SSH. I have the SSH. But what do you do when you use a different port (as many companies do)?
Here is the tip I got from Mike Hostetlers blog. It helped me out so I wanted to reshare this.
rsync [options] -e "ssh -p #portnumber" email@example.com:/path/to/files/ /local/path to files