diff --git a/admin_manual/configuration_server/occ_command.rst b/admin_manual/configuration_server/occ_command.rst index f8e42ee04..77fe6d09d 100644 --- a/admin_manual/configuration_server/occ_command.rst +++ b/admin_manual/configuration_server/occ_command.rst @@ -705,13 +705,11 @@ Transfer You may transfer all files and shares from one user to another. This is useful before removing a user:: - sudo -u www-data php occ files:transfer-ownership - + sudo -u www-data php occ files:transfer-ownership It is also possible to transfer only one directory along with it's contents. This can be useful to restructure your organization or quotas. The ``--path`` argument is given as the path to the directory as seen from the source user:: - sudo -u www-data php occ files:transfer-ownership --path="path_to_dir" - + sudo -u www-data php occ files:transfer-ownership --path="path_to_dir" .. _files_external_label: