rsync from remote host to local


From your local machine:

rsync -chavzP --stats /path/to/local/storage

From your local machine with a non standard ssh port:

rsync -chavzP -e "ssh -p $portNumber" /local/path

Or from the remote host, assuming you really want to work this way and your local machine is listening on SSH:

rsync -chavzP --stats /path/to/copy user@host.remoted.from:/path/to/local/storageAn explanation of the command:…

2018-11-10 12:02:31gstlouis