.\" Man page generated from reStructuredText. . .TH "OWNCLOUDCMD" "1" "Nov 19, 2016" "2.2" "ownCloud Client Manual" .SH NAME owncloudcmd \- Command line ownCloud client tool. . .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 .. .SH SYNOPSIS .sp \fIowncloudcmd\fP [\fIOPTIONS\fP\&...] sourcedir owncloudurl .SH DESCRIPTION .sp owncloudcmd is the command line tool used for the ownCloud file synchronization desktop utility. .sp Contrary to the \fBowncloud(1)\fP GUI client, \fIowncloudcmd\fP only performs a single sync run and then exits. In so doing, \fIowncloudcmd\fP replaces the \fIocsync\fP binary used for the same purpose in earlier releases. .sp A \fIsync run\fP synchronizes a single local directory using a WebDAV share on a remote ownCloud server. .sp To invoke the command line client, provide the local and the remote repository: The first parameter is the local directory. The second parameter is the server URL. .sp \fBNOTE:\fP .INDENT 0.0 .INDENT 3.5 Prior to the 1.6 release of owncloudcmd, the tool only accepted \fBowncloud://\fP or \fBownclouds://\fP in place of \fBhttp://\fP and \fBhttps://\fP as a scheme. See \fBExamples\fP for details. .UNINDENT .UNINDENT .SH OPTIONS .INDENT 0.0 .TP .B \fB\-\-user\fP, \fB\-u\fP \fB[user]\fP Use \fBuser\fP as the login name. .TP .B \fB\-\-password\fP, \fB\-p\fP \fB[password]\fP Use \fBpassword\fP as the password. .TP .B \fB\-n\fP Use \fBnetrc (5)\fP for login. .TP .B \fB\-\-non\-interactive\fP Do not prompt for questions. .TP .B \fB\-\-silent\fP, \fB\-\-s\fP Inhibits verbose log output. .TP .B \fB\-\-trust\fP Trust any SSL certificate, including invalid ones. .TP .B \fB\-\-httpproxy http://[user@pass:]:\fP Uses \fBserver\fP as HTTP proxy. .TP .B \fB\-\-nonshib\fP Uses Non Shibboleth WebDAV Authentication .TP .B \fB\-\-davpath [path]\fP Overrides the WebDAV Path with \fBpath\fP .TP .B \fB\-\-exclude [file]\fP Exclude list file .TP .B \fB\-\-unsyncedfolders [file]\fP File containing the list of unsynced folders (selective sync) .TP .B \fB\-\-max\-sync\-retries [n]\fP Retries maximum n times (defaults to 3) .TP .B \fB\-h\fP Sync hidden files,do not ignore them .UNINDENT .SH EXAMPLE .sp To synchronize the ownCloud directory \fBMusic\fP to the local directory \fBmedia/music\fP through a proxy listening on port \fB8080\fP on the gateway machine \fB192.168.178.1\fP, the command line would be: .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C $ owncloudcmd \-\-httpproxy http://192.168.178.1:8080 \e $HOME/media/music \e https://server/owncloud/remote.php/webdav/Music .ft P .fi .UNINDENT .UNINDENT .sp \fBowncloudcmd\fP will enquire user name and password, unless they have been specified on the command line or \fB\-n\fP (see \fInetrc(5)\fP) has been passed. .sp Using the legacy scheme, it would be: .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C $ owncloudcmd \-\-httpproxy http://192.168.178.1:8080 \e $HOME/media/music \e ownclouds://server/owncloud/remote.php/webdav/Music .ft P .fi .UNINDENT .UNINDENT .SH BUGS .sp Please report bugs at \fI\%https://github.com/owncloud/client/issues\fP\&. .SH SEE ALSO .sp \fBowncloud(1)\fP .SH AUTHOR The ownCloud developers .SH COPYRIGHT 2013-2016, The ownCloud developers .\" Generated by docutils manpage writer. .