Command Line Options

Introduction

Depending on your operating system, you can start the ownCloud client from the command line by typing owncloud or owncloud.exe. You may need to change to the directory of the binary first. When starting owncloud manually, you can add options to this command.

List Options

To get the list of options, run the following example command:

owncloud -h
or
owncloud --help

Use Options

Option Description

--logwindow

Opens a window displaying log output.

-s --showsettings

Show the settings dialog while starting

-q --quit

Quit the running instance

--logfile <filename>

Write log output to the file specified. To write to stdout, specify - as the filename.

--logdir <name>

Writes each synchronization log output in a new file in the specified directory.

--logexpire <hours>

Removes logs older than the value specified (in hours).
This command is used with --logdir.

--logflush

Clears (flushes) the log file after each write action.

--logdebug

Also output debug-level messages in the log equivalent to setting the environment variable QT_LOGGING_RULES = "qt.=true;.debug=true".

--confdir <dirname>

Uses the specified configuration directory.