diff --git a/admin_manual/configuration_server/occ_command.rst b/admin_manual/configuration_server/occ_command.rst index c0fa0fc08..9c602a06c 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -750,12 +750,16 @@ It is also possible to transfer only one directory along with it's contents. Thi sudo -u www-data php occ files:transfer-ownership --path="path_to_dir" -In case the incoming shares must be transferred as well, use the argument ``--transfer-incoming-shares``:: +In case the incoming shares must be transferred as well, use the argument ``--transfer-incoming-shares`` with ``0`` or ``1`` as parameters :: sudo -u www-data php occ files:transfer-ownership --transfer-incoming-shares=1 --path="path_to_dir" As an alternative, the system configuration option ``transferIncomingShares`` in config.php can be set to ``true`` to always transfer incoming shares. +The command line option ``--transfer-incoming-shares`` overwrites the config.php option ``transferIncomingShares``. For example, ``'transferIncomingShares => true`` can be overwritten by: :: + + sudo -u www-data php occ files:transfer-ownership --transfer-incoming-shares=0 + Users may also transfer files or folders selectively by themselves. See `user documentation `_ for details.