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 @@ -1085,18 +1085,19 @@ Remove a certificate::
10851085Trashbin
10861086--------
10871087
1088+ ::
1089+
1090+ trashbin
1091+ trashbin:cleanup [--all-users] [--] [<user_id>...] Remove deleted files
1092+ trashbin:restore [--all-users] [--] [<user_id>...] Restore deleted files
1093+
10881094.. note ::
10891095 This command is only available when the "Deleted files" app
10901096 (``files_trashbin ``) is enabled.
10911097
10921098The ``trashbin:cleanup [--all-users] [--] [<user_id>...] `` command removes the deleted files of the specified
10931099users in a space-delimited list, or all users if --all-users is specified.
10941100
1095- ::
1096-
1097- trashbin
1098- trashbin:cleanup [--all-users] [--] [<user_id>...] Remove deleted files
1099-
11001101This example removes the deleted files of all users::
11011102
11021103 sudo -u www-data php occ trashbin:cleanup --all-users
@@ -1114,6 +1115,17 @@ This example removes the deleted files of users molly and freda::
11141115 Remove deleted files of molly
11151116 Remove deleted files of freda
11161117
1118+ The ``trashbin:restore [--all-users] [--] [<user_id>...] `` command restores the deleted files of the specified
1119+ users in a space-delimited list, or all users if --all-users is specified.
1120+
1121+ This example restores the deleted files of all users::
1122+
1123+ sudo -u www-data php occ trashbin:restore --all-users
1124+
1125+ This example restores the deleted files of users molly and freda::
1126+
1127+ sudo -u www-data php occ trashbin:restore molly freda
1128+
11171129.. _user_commands_label :
11181130
11191131User commands
You can’t perform that action at this time.
0 commit comments