ocsync.1 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. '\" t
  2. .\" Title: ocsync
  3. .\" Author: [see the "AUTHORS" section]
  4. .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
  5. .\" Date: 12/22/2012
  6. .\" Manual: \ \&
  7. .\" Source: \ \&
  8. .\" Language: English
  9. .\"
  10. .TH "OCSYNC" "1" "12/22/2012" "\ \&" "\ \&"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. ocsync \- A commandline frontent for csync a user level bidirectional file synchronizer\&.
  32. .SH "SYNOPSIS"
  33. .sp
  34. \fBocsync\fR [\fIOPTION\fR\&...] \fISOURCE\fR \fIDESTINATION\fR
  35. .SH "DESCRIPTION"
  36. .sp
  37. ocsync 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\&.
  38. .sp
  39. 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\&.
  40. .SH "OPTIONS"
  41. .PP
  42. \fB\-\-create\-statedb\fR
  43. .RS 4
  44. Run update detection and write the statedb (TESTING ONLY!)
  45. .RE
  46. .PP
  47. \fB\-d, \-\-disable\-statedb\fR
  48. .RS 4
  49. Disable the usage and creation of a statedb\&.
  50. .RE
  51. .PP
  52. \fB\-\-exclude\-file=\fR\fB\fI<file>\fR\fR
  53. .RS 4
  54. Add an additional exclude file
  55. .RE
  56. .PP
  57. \fB\-r, \-\-reconcile\fR
  58. .RS 4
  59. Run ONLY update detection and reconcilation This option is for debugging
  60. .RE
  61. .PP
  62. \fB\-u, \-\-update\fR
  63. .RS 4
  64. Run ONLY the update detection This option is for debugging
  65. .RE
  66. .PP
  67. \fB\-?, \-\-help\fR
  68. .RS 4
  69. Print the help list
  70. .RE
  71. .PP
  72. \fB\-V, \-\-version\fR
  73. .RS 4
  74. Print program version
  75. .RE
  76. .SH "EXIT STATUS"
  77. .PP
  78. \fB0\fR
  79. .RS 4
  80. Success
  81. .RE
  82. .PP
  83. \fB1\fR
  84. .RS 4
  85. Failure (syntax or usage error; configuration error; unexpected error)\&.
  86. .RE
  87. .SH "EXAMPLES"
  88. .sp
  89. .RS 4
  90. .ie n \{\
  91. \h'-04'\(bu\h'+03'\c
  92. .\}
  93. .el \{\
  94. .sp -1
  95. .IP \(bu 2.3
  96. .\}
  97. ocsync /home/user /backup/home/user
  98. .sp
  99. .if n \{\
  100. .RS 4
  101. .\}
  102. .nf
  103. Synchronizer two local directories\&.
  104. .fi
  105. .if n \{\
  106. .RE
  107. .\}
  108. .RE
  109. .sp
  110. .RS 4
  111. .ie n \{\
  112. \h'-04'\(bu\h'+03'\c
  113. .\}
  114. .el \{\
  115. .sp -1
  116. .IP \(bu 2.3
  117. .\}
  118. ocsync /home/user smb://server/share/user
  119. .sp
  120. .if n \{\
  121. .RS 4
  122. .\}
  123. .nf
  124. Synchronize a home directory with a SMB share\&.
  125. .fi
  126. .if n \{\
  127. .RE
  128. .\}
  129. .RE
  130. .sp
  131. .RS 4
  132. .ie n \{\
  133. \h'-04'\(bu\h'+03'\c
  134. .\}
  135. .el \{\
  136. .sp -1
  137. .IP \(bu 2.3
  138. .\}
  139. ocsync /home/user smb://user:password@server/share/user
  140. .sp
  141. .if n \{\
  142. .RS 4
  143. .\}
  144. .nf
  145. Synchronize a home directory with a SMB share and provide username and
  146. password directly\&.
  147. .fi
  148. .if n \{\
  149. .RE
  150. .\}
  151. .RE
  152. .SH "BUGS"
  153. .sp
  154. Please report bugs at https://dev\&.csync\&.org/\&.
  155. .SH "SEE ALSO"
  156. .sp
  157. \fBlibocsync\fR(7)
  158. .SH "AUTHORS"
  159. .sp
  160. .RS 4
  161. .ie n \{\
  162. \h'-04'\(bu\h'+03'\c
  163. .\}
  164. .el \{\
  165. .sp -1
  166. .IP \(bu 2.3
  167. .\}
  168. Andreas Schneider <mail@cynapses\&.org>
  169. .RE
  170. .sp
  171. .RS 4
  172. .ie n \{\
  173. \h'-04'\(bu\h'+03'\c
  174. .\}
  175. .el \{\
  176. .sp -1
  177. .IP \(bu 2.3
  178. .\}
  179. Klaas Freitag <freitag@owncloud\&.com>
  180. .RE
  181. .SH "COPYING"
  182. .sp
  183. Copyright \e(c) 2006\-2008 Andreas Schneider\&. Free use of this software is granted under the terms of the GNU General Public License (GPL)\&.