Copy a file from your local machine to a remote server with rsync
From the local machine, run:
$ rsync photo.jpg root@[server_IP]:/var/www/example.com/
personal computing command-line interface (cli) gnu linux trisquel shell literacy office applications wiki hosting rsync