Add note about Group Folders

Using Group Folders, files are visible in the User trash, but such files are not restored by this command.

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
This commit is contained in:
Git'Fellow 2023-02-16 15:49:52 +01:00 committed by backportbot-nextcloud[bot]
parent 47db2330a4
commit 454fa7ae21

View File

@ -1119,7 +1119,7 @@ Trashbin
::
trashbin
trashbin:cleanup [--all-users] [--] [<user_id>...] Remove deleted files
trashbin:cleanup [--all-users] [--] [<user_id>...] Permanently remove deleted files
trashbin:restore [--all-users] [--] [<user_id>...] Restore deleted files
.. note::
@ -1129,7 +1129,7 @@ Trashbin
The ``trashbin:cleanup [--all-users] [--] [<user_id>...]`` command removes the deleted files of the specified
users in a space-delimited list, or all users if --all-users is specified.
This example removes the deleted files of all users::
This example permanently removes the deleted files of all users::
sudo -u www-data php occ trashbin:cleanup --all-users
Remove all deleted files for all users
@ -1140,7 +1140,7 @@ This example removes the deleted files of all users::
rosa
edward
This example removes the deleted files of users molly and freda::
This example permanently removes the deleted files of users molly and freda::
sudo -u www-data php occ trashbin:cleanup molly freda
Remove deleted files of molly
@ -1156,6 +1156,10 @@ This example restores the deleted files of all users::
This example restores the deleted files of users molly and freda::
sudo -u www-data php occ trashbin:restore molly freda
.. note::
This command only restores Users deleted files.
If you're using Group Folders app, such files are not restored.
.. _user_commands_label: