version 1.3, 2019/02/12 19:16:41 |
version 1.4, 2019/02/14 18:31:01 |
|
|
.Nd synchronise local and remote files |
.Nd synchronise local and remote files |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm rsync |
.Nm rsync |
.Op Fl glnprtv |
.Op Fl glnoprtv |
.Op Fl -delete |
.Op Fl -delete |
.Op Fl -rsync-path Ar prog |
.Op Fl -rsync-path Ar prog |
.Ar source ... |
.Ar source ... |
|
|
.It Fl n |
.It Fl n |
Dry-run mode. |
Dry-run mode. |
Does not actually modify the destination. |
Does not actually modify the destination. |
|
.It Fl o |
|
Set user identifier to match the source. |
|
This behaves like |
|
.Fl g |
|
and only works if run as root. |
.It Fl p |
.It Fl p |
Set destination file or directory permissions to match the source when |
Set destination file or directory permissions to match the source when |
it is updated. |
it is updated. |