2013-09-12 15:27:12 +04:00
'\" t
. \" Title: ocsync
2008-12-17 18:53:48 +03:00
. \" Author: [see the "AUTHORS" section]
2013-09-12 15:27:12 +04:00
. \" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
. \" Date: 12/22/2012
. \" Manual: \ \&
. \" Source: \ \&
2008-12-17 18:53:48 +03:00
. \" Language: English
2008-07-03 13:10:12 +04:00
. \"
2013-09-12 15:27:12 +04:00
.TH "OCSYNC" "1" "12/22/2012" "\ \&" "\ \&"
2008-12-17 18:53:48 +03:00
. \" -----------------------------------------------------------------
2013-09-12 15:27:12 +04:00
. \" * Define some portability stuff
2008-12-17 18:53:48 +03:00
. \" -----------------------------------------------------------------
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2013-09-12 15:27:12 +04:00
. \" http://bugs.debian.org/507673
. \" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
2008-12-17 18:53:48 +03:00
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2013-09-12 15:27:12 +04:00
.ie \n (.g .ds Aq \(aq
.el .ds Aq '
2008-12-17 18:53:48 +03:00
. \" -----------------------------------------------------------------
. \" * set default formatting
. \" -----------------------------------------------------------------
2008-07-03 13:10:12 +04:00
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
2008-12-17 18:53:48 +03:00
. \" -----------------------------------------------------------------
. \" * MAIN CONTENT STARTS HERE *
. \" -----------------------------------------------------------------
2013-09-12 15:27:12 +04:00
.SH "NAME"
ocsync \- A commandline frontent for csync a user level bidirectional file synchronizer\& .
.SH "SYNOPSIS"
2008-07-03 13:10:12 +04:00
.sp
2013-09-12 15:27:12 +04:00
\fB ocsync\fR [\fI OPTION\fR \& ...] \fI SOURCE\fR \fI DESTINATION\fR
2008-07-03 13:10:12 +04:00
.SH "DESCRIPTION"
.sp
2013-09-12 15:27:12 +04:00
ocsync is a client only bidirectional file synchronizer\& . It synchronizes the content of \fI SOURCE\fR with \fI DESTINATION\fR and vice versa\& . The \fI DESTINATION\fR can be a local directory or a remote file server\& .
2008-07-03 13:10:12 +04:00
.sp
2013-09-12 15:27:12 +04:00
You can use ocsync 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
2008-12-17 18:53:48 +03:00
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
2008-12-17 18:53:48 +03:00
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
2008-12-17 18:53:48 +03:00
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
\fB 0\fR
.RS 4
Success
.RE
.PP
\fB 1\fR
.RS 4
2008-12-17 18:53:48 +03:00
Failure (syntax or usage error; configuration error; unexpected error)\& .
2008-07-03 13:10:12 +04:00
.RE
.SH "EXAMPLES"
.sp
.RS 4
2008-12-17 18:53:48 +03:00
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2013-09-12 15:27:12 +04:00
ocsync /home/user /backup/home/user
2008-07-03 13:10:12 +04:00
.sp
2008-12-17 18:53:48 +03:00
.if n \{ \
2008-07-03 13:10:12 +04:00
.RS 4
2008-12-17 18:53:48 +03:00
. \}
2008-07-03 13:10:12 +04:00
.nf
2008-12-17 18:53:48 +03:00
Synchronizer two local directories\& .
2008-07-03 13:10:12 +04:00
.fi
2008-12-17 18:53:48 +03:00
.if n \{ \
2008-07-03 13:10:12 +04:00
.RE
2008-12-17 18:53:48 +03:00
. \}
2008-07-03 13:10:12 +04:00
.RE
.sp
.RS 4
2008-12-17 18:53:48 +03:00
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2013-09-12 15:27:12 +04:00
ocsync /home/user smb://server/share/user
2008-07-03 13:10:12 +04:00
.sp
2008-12-17 18:53:48 +03:00
.if n \{ \
2008-07-03 13:10:12 +04:00
.RS 4
2008-12-17 18:53:48 +03:00
. \}
2008-07-03 13:10:12 +04:00
.nf
2008-12-17 18:53:48 +03:00
Synchronize a home directory with a SMB share\& .
2008-07-03 13:10:12 +04:00
.fi
2008-12-17 18:53:48 +03:00
.if n \{ \
2008-07-03 13:10:12 +04:00
.RE
2008-12-17 18:53:48 +03:00
. \}
2008-07-03 13:10:12 +04:00
.RE
.sp
.RS 4
2008-12-17 18:53:48 +03:00
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2013-09-12 15:27:12 +04:00
ocsync /home/user smb://user:password@server/share/user
2008-07-03 13:10:12 +04:00
.sp
2008-12-17 18:53:48 +03:00
.if n \{ \
2008-07-03 13:10:12 +04:00
.RS 4
2008-12-17 18:53:48 +03:00
. \}
2008-07-03 13:10:12 +04:00
.nf
Synchronize a home directory with a SMB share and provide username and
2008-12-17 18:53:48 +03:00
password directly\& .
2008-07-03 13:10:12 +04:00
.fi
2008-12-17 18:53:48 +03:00
.if n \{ \
2008-07-03 13:10:12 +04:00
.RE
2008-12-17 18:53:48 +03:00
. \}
2008-07-03 13:10:12 +04:00
.RE
.SH "BUGS"
.sp
2008-12-17 18:53:48 +03:00
Please report bugs at https://dev\& .csync\& .org/\& .
2008-07-03 13:10:12 +04:00
.SH "SEE ALSO"
.sp
2013-09-12 15:27:12 +04:00
\fB libocsync\fR (7)
2008-07-03 13:10:12 +04:00
.SH "AUTHORS"
.sp
2013-09-12 15:27:12 +04:00
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2008-12-17 18:53:48 +03:00
Andreas Schneider <mail@cynapses\& .org>
2013-09-12 15:27:12 +04:00
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
Klaas Freitag <freitag@owncloud\& .com>
.RE
2008-07-03 13:10:12 +04:00
.SH "COPYING"
.sp
2008-12-17 18:53:48 +03:00
Copyright \e (c) 2006\- 2008 Andreas Schneider\& . Free use of this software is granted under the terms of the GNU General Public License (GPL)\& .