version 1.32, 2023/04/27 17:18:40 |
version 1.33, 2023/04/28 10:24:38 |
|
|
.Nd synchronise local and remote files |
.Nd synchronise local and remote files |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm openrsync |
.Nm openrsync |
.Op Fl aDglnoprtVvx |
.Op Fl aDgIlnoprtVvx |
.Op Fl e Ar program |
.Op Fl e Ar program |
.Op Fl -address Ns = Ns Ar sourceaddr |
.Op Fl -address Ns = Ns Ar sourceaddr |
.Op Fl -compare-dest Ns = Ns Ar directory |
.Op Fl -compare-dest Ns = Ns Ar directory |
|
|
.Op Fl -numeric-ids |
.Op Fl -numeric-ids |
.Op Fl -port Ns = Ns Ar service |
.Op Fl -port Ns = Ns Ar service |
.Op Fl -rsync-path Ns = Ns Ar program |
.Op Fl -rsync-path Ns = Ns Ar program |
|
.Op Fl -size-only |
.Op Fl -timeout Ns = Ns Ar seconds |
.Op Fl -timeout Ns = Ns Ar seconds |
.Ar source ... |
.Ar source ... |
.Ar directory |
.Ar directory |
|
|
directories. |
directories. |
Only applicable with |
Only applicable with |
.Fl r . |
.Fl r . |
|
.It Fl e Ar program , Fl -rsh Ns = Ns Ar program |
|
Specify alternative communication program, defaults to |
|
.Xr ssh 1 . |
.It Fl -exclude Ar pattern |
.It Fl -exclude Ar pattern |
Exclude files matching |
Exclude files matching |
.Em pattern . |
.Em pattern . |
|
|
.Em rules |
.Em rules |
from |
from |
.Em file . |
.Em file . |
.It Fl -include Ar pattern |
|
Include files matching |
|
.Em pattern . |
|
.It Fl -include-from Ns = Ns Ar file |
|
Load |
|
.Em patterns |
|
and |
|
.Em rules |
|
from |
|
.Em file . |
|
.It Fl -devices |
.It Fl -devices |
Also transfer device files. |
Also transfer device files. |
.It Fl e Ar program , Fl -rsh Ns = Ns Ar program |
|
Specify alternative communication program, defaults to |
|
.Xr ssh 1 . |
|
.It Fl g , -group |
.It Fl g , -group |
Set the group name to match the source. |
Set the group name to match the source. |
For example, group |
For example, group |
|
|
.Fl -numeric-ids |
.Fl -numeric-ids |
is also given or if the remote group name is unknown on the local machine, |
is also given or if the remote group name is unknown on the local machine, |
set the numeric group ID to match the source instead. |
set the numeric group ID to match the source instead. |
|
.It Fl I , -ignore-times |
|
Do not skip based on file size and modification time. |
|
.It Fl -include Ar pattern |
|
Include files matching |
|
.Em pattern . |
|
.It Fl -include-from Ns = Ns Ar file |
|
Load |
|
.Em patterns |
|
and |
|
.Em rules |
|
from |
|
.Em file . |
.It Fl l , -links |
.It Fl l , -links |
Also transfer symbolic links. |
Also transfer symbolic links. |
The link is transferred as a standalone file: if the destination does |
The link is transferred as a standalone file: if the destination does |
|
|
.Ar program |
.Ar program |
on the remote host instead of the default |
on the remote host instead of the default |
.Pa rsync . |
.Pa rsync . |
|
.It Fl -size-only |
|
Skip files based only on size, don't check timestamp. |
.It Fl -specials |
.It Fl -specials |
Also transfer fifo and unix domain socket files. |
Also transfer fifo and unix domain socket files. |
.It Fl -timeout Ns = Ns Ar seconds |
.It Fl -timeout Ns = Ns Ar seconds |