mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Merge pull request #7631 from nextcloud/backport/7606/stable23
[stable23] Transfer incoming shares
This commit is contained in:
commit
21803f46ed
@ -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" <source-user> <destination-user>
|
||||
|
||||
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" <source-user> <destination-user>
|
||||
|
||||
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 <source-user> <destination-user>
|
||||
|
||||
Users may also transfer files or folders selectively by themselves.
|
||||
See `user documentation <https://docs.nextcloud.com/server/latest/user_manual/en/files/transfer_ownership.html>`_ for details.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user