rsync to copy files to remote server code example
Example 1: rsync from remote to local
rsync -chavzP --stats [email protected]:/path/to/copy /path/to/local/storage
Example 2: how to rsync linux
rsync options source destination
rsync -chavzP --stats [email protected]:/path/to/copy /path/to/local/storage
rsync options source destination