linux:owncloud:trashbin_cleanup
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:owncloud:trashbin_cleanup [2022/02/05 16:14] – created rplecko | linux:owncloud:trashbin_cleanup [2022/02/05 16:18] (current) – rplecko | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| === Trashbin Cleanup === | === Trashbin Cleanup === | ||
| + | |||
| + | |||
| + | |||
| + | As the ownCloud server administrator, | ||
| + | < | ||
| + | trashbin | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | The trashbin: | ||
| + | < | ||
| + | sudo -u www-data php occ trashbin: | ||
| + | Remove all deleted files | ||
| + | Remove deleted files for users on backend Database | ||
| + | user1 | ||
| + | user2 | ||
| + | user3 | ||
| + | user4 | ||
| + | </ | ||
| + | This example removes the deleted files of user2 and user4: | ||
| + | < | ||
| + | sudo -u www-data php occ trashbin: | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | trashbin: | ||
| + | |||
| + | The default is to delete expired files for all users, or you may list users in a space-delimited list: | ||
| + | < | ||
| + | sudo -u www-data php occ trashbin: | ||
| + | | ||
| + | | ||
| + | </ | ||
linux/owncloud/trashbin_cleanup.1644077688.txt.gz · Last modified: 2022/02/05 16:14 by rplecko
