File tree Expand file tree Collapse file tree
admin_manual/configuration_server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1050,18 +1050,19 @@ Remove a certificate::
10501050Trashbin
10511051--------
10521052
1053+ ::
1054+
1055+ trashbin
1056+ trashbin:cleanup [--all-users] [--] [<user_id>...] Remove deleted files
1057+ trashbin:restore [--all-users] [--] [<user_id>...] Restore deleted files
1058+
10531059.. note ::
10541060 This command is only available when the "Deleted files" app
10551061 (``files_trashbin ``) is enabled.
10561062
10571063The ``trashbin:cleanup [--all-users] [--] [<user_id>...] `` command removes the deleted files of the specified
10581064users in a space-delimited list, or all users if --all-users is specified.
10591065
1060- ::
1061-
1062- trashbin
1063- trashbin:cleanup [--all-users] [--] [<user_id>...] Remove deleted files
1064-
10651066This example removes the deleted files of all users::
10661067
10671068 sudo -u www-data php occ trashbin:cleanup --all-users
@@ -1079,6 +1080,17 @@ This example removes the deleted files of users molly and freda::
10791080 Remove deleted files of molly
10801081 Remove deleted files of freda
10811082
1083+ The ``trashbin:restore [--all-users] [--] [<user_id>...] `` command restores the deleted files of the specified
1084+ users in a space-delimited list, or all users if --all-users is specified.
1085+
1086+ This example restores the deleted files of all users::
1087+
1088+ sudo -u www-data php occ trashbin:restore --all-users
1089+
1090+ This example restores the deleted files of users molly and freda::
1091+
1092+ sudo -u www-data php occ trashbin:restore molly freda
1093+
10821094.. _user_commands_label :
10831095
10841096User commands
You can’t perform that action at this time.
0 commit comments