From 935d9d26748281437157cffc10e949382f39b9d3 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 3 Jul 2021 10:49:28 -0400 Subject: add missing colon --- rsync.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rsync.html') diff --git a/rsync.html b/rsync.html index da4bd15..c18e92b 100644 --- a/rsync.html +++ b/rsync.html @@ -20,7 +20,7 @@
apt install rsync

Uploading files with rsync

From your local machine you can upload files to your server like this:

-
rsync -ruvzP /path/to/file root@example.org/path/on/the/server
+
rsync -ruvzP /path/to/file root@example.org:/path/on/the/server

You will be prompted for the root password and then uploading will commence.

If you omit root@, rsync will not attempt to log in as root, but whatever your local username is.

Options to rsync

-- cgit v1.2.3