.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "CDIST-TYPE__RSYNC" "7" "Sep 26, 2023" "7.0.0" "cdist" .SH NAME .sp cdist\-type__rsync \- Mirror directories using \fBrsync\fP .SH DESCRIPTION .sp The purpose of this type is to bring power of \fBrsync\fP into \fBcdist\fP\&. .SH REQUIRED PARAMETERS .INDENT 0.0 .TP .B source Source directory in local machine. If source is directory, slash (\fB/\fP) will be added to source and destination paths. .UNINDENT .SH OPTIONAL PARAMETERS .INDENT 0.0 .TP .B destination Destination directory. Defaults to \fB$__object_id\fP\&. .TP .B owner Will be passed to \fBrsync\fP as \fB\-\-chown=OWNER\fP\&. Read \fBrsync(1)\fP for more details. .TP .B group Will be passed to \fBrsync\fP as \fB\-\-chown=:GROUP\fP\&. Read \fBrsync(1)\fP for more details. .TP .B mode Will be passed to \fBrsync\fP as \fB\-\-chmod=MODE\fP\&. Read \fBrsync(1)\fP for more details. .TP .B options Defaults to \fB\-\-recursive \-\-links \-\-perms \-\-times\fP\&. Due to .nf \(gabug in Python\(aqs argparse\(ga_ .fi , value must be prefixed with \fB\e\fP\&. .TP .B remote\-user Defaults to \fBroot\fP\&. .UNINDENT .SH OPTIONAL MULTIPLE PARAMETERS .INDENT 0.0 .TP .B option Pass additional options to \fBrsync\fP\&. See \fBrsync(1)\fP for all possible options. Due to .nf \(gabug in Python\(aqs argparse\(ga_ .fi , value must be prefixed with \fB\e\fP\&. .UNINDENT .SH EXAMPLES .INDENT 0.0 .INDENT 3.5 .sp .EX __rsync /var/www/example.com \e \-\-owner root \e \-\-group www\-data \e \-\-mode \(aqD750,F640\(aq \e \-\-source \(dq$__files/example.com/www\(dq .EE .UNINDENT .UNINDENT .SH AUTHORS .sp Ander Punnar .SH COPYING .sp Copyright (C) 2021 Ander Punnar. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. .SH COPYRIGHT ungleich GmbH 2021 .\" Generated by docutils manpage writer. .