nextcloud-desktop/doc/ocsync.1

321 lines
6.3 KiB
Groff
Raw Normal View History

2008-07-03 13:10:12 +04:00
.\" Title: csync
.\" Author: [see the "AUTHORS" section]
.\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
.\" Date: 12/13/2008
.\" Manual: [FIXME: manual]
.\" Source: [FIXME: source]
.\" Language: English
2008-07-03 13:10:12 +04:00
.\"
.TH "CSYNC" "1" "12/13/2008" "[FIXME: source]" "[FIXME: manual]"
.\" -----------------------------------------------------------------
.\" * (re)Define some macros
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" toupper - uppercase a string (locale-aware)
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.de toupper
.tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
\\$*
.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
..
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" SH-xref - format a cross-reference to an SH section
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.de SH-xref
.ie n \{\
.\}
.toupper \\$*
.el \{\
\\$*
.\}
..
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" SH - level-one heading that works better for non-TTY output
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.de1 SH
.\" put an extra blank line of space above the head in non-TTY output
.if t \{\
.sp 1
.\}
.sp \\n[PD]u
.nr an-level 1
.set-an-margin
.nr an-prevailing-indent \\n[IN]
.fi
.in \\n[an-margin]u
.ti 0
.HTML-TAG ".NH \\n[an-level]"
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
\." make the size of the head bigger
.ps +3
.ft B
.ne (2v + 1u)
.ie n \{\
.\" if n (TTY output), use uppercase
.toupper \\$*
.\}
.el \{\
.nr an-break-flag 0
.\" if not n (not TTY), use normal case (not uppercase)
\\$1
.in \\n[an-margin]u
.ti 0
.\" if not n (not TTY), put a border/line under subheading
.sp -.6
\l'\n(.lu'
.\}
..
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" SS - level-two heading that works better for non-TTY output
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.de1 SS
.sp \\n[PD]u
.nr an-level 1
.set-an-margin
.nr an-prevailing-indent \\n[IN]
.fi
.in \\n[IN]u
.ti \\n[SN]u
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.ps \\n[PS-SS]u
\." make the size of the head bigger
.ps +2
.ft B
.ne (2v + 1u)
.if \\n[.$] \&\\$*
..
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" BB/BE - put background/screen (filled box) around block of text
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.de BB
.if t \{\
.sp -.5
.br
.in +2n
.ll -2n
.gcolor red
.di BX
.\}
..
.de EB
.if t \{\
.if "\\$2"adjust-for-leading-newline" \{\
.sp -1
.\}
.br
.di
.in
.ll
.gcolor
.nr BW \\n(.lu-\\n(.i
.nr BH \\n(dn+.5v
.ne \\n(BHu+.5v
.ie "\\$2"adjust-for-leading-newline" \{\
\M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
.\}
.el \{\
\M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
.\}
.in 0
.sp -.5v
.nf
.BX
.in
.sp .5v
.fi
.\}
..
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" BM/EM - put colored marker in margin next to block of text
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.de BM
.if t \{\
.br
.ll -2n
.gcolor red
.di BX
.\}
..
.de EM
.if t \{\
.br
.di
.ll
.gcolor
.nr BH \\n(dn
.ne \\n(BHu
\M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[]
.in 0
.nf
.BX
.in
.fi
.\}
..
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
2008-07-03 13:10:12 +04:00
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "Name"
csync \- A commandline frontent for csync a user level bidirectional file synchronizer\&.
.SH "Synopsis"
2008-07-03 13:10:12 +04:00
.sp
\fBcsync\fR [\fIOPTION\fR\&...] \fISOURCE\fR \fIDESTINATION\fR
2008-07-03 13:10:12 +04:00
.SH "DESCRIPTION"
.sp
csync is a client only bidirectional file synchronizer\&. It synchronizes the content of \fISOURCE\fR with \fIDESTINATION\fR and vice versa\&. The \fIDESTINATION\fR can be a local directory or a remote file server\&.
2008-07-03 13:10:12 +04:00
.sp
You can use csync for different things\&. The intention is to provide Roaming Home Directories for Linux but you can use it to synchronize your music collection or create a backup of a directory\&.
2008-07-03 13:10:12 +04:00
.SH "OPTIONS"
.PP
2008-07-09 12:10:00 +04:00
\fB\-\-create\-statedb\fR
2008-07-03 13:10:12 +04:00
.RS 4
2008-07-09 12:10:00 +04:00
Run update detection and write the statedb (TESTING ONLY!)
2008-07-03 13:10:12 +04:00
.RE
.PP
2008-07-09 12:10:00 +04:00
\fB\-d, \-\-disable\-statedb\fR
2008-07-03 13:10:12 +04:00
.RS 4
Disable the usage and creation of a statedb\&.
2008-07-03 13:10:12 +04:00
.RE
.PP
\fB\-\-exclude\-file=\fR\fB\fI<file>\fR\fR
.RS 4
Add an additional exclude file
.RE
.PP
\fB\-r, \-\-reconcile\fR
.RS 4
Run ONLY update detection and reconcilation This option is for debugging
2008-07-03 13:10:12 +04:00
.RE
.PP
\fB\-u, \-\-update\fR
.RS 4
Run ONLY the update detection This option is for debugging
2008-07-03 13:10:12 +04:00
.RE
.PP
\fB\-?, \-\-help\fR
.RS 4
Print the help list
.RE
.PP
\fB\-V, \-\-version\fR
.RS 4
Print program version
.RE
.SH "EXIT STATUS"
.PP
\fB0\fR
.RS 4
Success
.RE
.PP
\fB1\fR
.RS 4
Failure (syntax or usage error; configuration error; unexpected error)\&.
2008-07-03 13:10:12 +04:00
.RE
.SH "EXAMPLES"
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
csync /home/user /backup/home/user
2008-07-03 13:10:12 +04:00
.sp
.if n \{\
2008-07-03 13:10:12 +04:00
.RS 4
.\}
.fam C
.ps -1
2008-07-03 13:10:12 +04:00
.nf
.BB lightgray
Synchronizer two local directories\&.
.EB lightgray
2008-07-03 13:10:12 +04:00
.fi
.fam
.ps +1
.if n \{\
2008-07-03 13:10:12 +04:00
.RE
.\}
2008-07-03 13:10:12 +04:00
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
csync /home/user smb://server/share/user
2008-07-03 13:10:12 +04:00
.sp
.if n \{\
2008-07-03 13:10:12 +04:00
.RS 4
.\}
.fam C
.ps -1
2008-07-03 13:10:12 +04:00
.nf
.BB lightgray
Synchronize a home directory with a SMB share\&.
.EB lightgray
2008-07-03 13:10:12 +04:00
.fi
.fam
.ps +1
.if n \{\
2008-07-03 13:10:12 +04:00
.RE
.\}
2008-07-03 13:10:12 +04:00
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
csync /home/user smb://user:password@server/share/user
2008-07-03 13:10:12 +04:00
.sp
.if n \{\
2008-07-03 13:10:12 +04:00
.RS 4
.\}
.fam C
.ps -1
2008-07-03 13:10:12 +04:00
.nf
.BB lightgray
2008-07-03 13:10:12 +04:00
Synchronize a home directory with a SMB share and provide username and
password directly\&.
.EB lightgray
2008-07-03 13:10:12 +04:00
.fi
.fam
.ps +1
.if n \{\
2008-07-03 13:10:12 +04:00
.RE
.\}
2008-07-03 13:10:12 +04:00
.RE
.SH "BUGS"
.sp
Please report bugs at https://dev\&.csync\&.org/\&.
2008-07-03 13:10:12 +04:00
.SH "SEE ALSO"
.sp
\fBlibcsync\fR(7)
2008-07-03 13:10:12 +04:00
.SH "AUTHORS"
.sp
Andreas Schneider <mail@cynapses\&.org>
2008-07-03 13:10:12 +04:00
.SH "COPYING"
.sp
Copyright \e(c) 2006\-2008 Andreas Schneider\&. Free use of this software is granted under the terms of the GNU General Public License (GPL)\&.