From: shile <13051960278@163.com> Date: Wed, 27 May 2020 10:03:23 +0000 (+0800) Subject: Add install instructions for nextcloudcmd X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~222^2^2~186 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=891c192ebcc275d49afe4c08c0729c8afa87e758;p=nextcloud-desktop.git Add install instructions for nextcloudcmd Signed-off-by: shile <13051960278@163.com> --- diff --git a/doc/nextcloudcmd.rst b/doc/nextcloudcmd.rst index 81d00b2b3..ba722d8ec 100644 --- a/doc/nextcloudcmd.rst +++ b/doc/nextcloudcmd.rst @@ -8,6 +8,34 @@ repositories to the same state. Contrary to the GUI-based client, ``nextcloudcmd`` does not repeat synchronizations on its own. It also does not monitor for file system changes. + +Install ``nextcloudcmd`` +~~~~~~~~~~~~ + +CentOS + +:: + + $ sudo yum -y install epel-release + $ sudo yum -y install nextcloud-client + +Ubuntu/Debian + +:: + + $ sudo add-apt-repository ppa:nextcloud-devs/client + $ sudo apt update + $ sudo apt install nextcloud-client + + +Refer to the link + +- https://nextcloud.com/install/#install-clients +- https://launchpad.net/~nextcloud-devs/+archive/ubuntu/client +- https://pkgs.alpinelinux.org/packages?name=nextcloud-client +- https://help.nextcloud.com/t/linux-packages-status/10216 + + To invoke ``nextcloudcmd``, you must provide the local and the remote repository URL using the following command:: @@ -84,3 +112,13 @@ Exclude List installed along with ``nextcloudcmd`` and thus be available in a system location, be placed next to the binary as ``sync-exclude.lst`` or be explicitly specified with the ``--exclude`` switch. + +Example +~~~~~~~~~~~~ + +- Synchronize a local directory to the specified directory of the nextcloud server + +:: + + $ nextcloudcmd /home/user/ \ + https://:@/remote.php/webdav/