How to support this request?
- Please use the 👍 reaction to show that you are also in favor of this feature - we are using this information to decide which features to include in upcoming Nextcloud versions.
- Please don't comment if you have no relevant information to add
Expected behavior
The new occ command (trashbin:size) should allow to set the size of the trash bin to a percentage value of the available disk space and also allow to reset the value to the default of 50%.
Current behavior
The new occ command (trashbin:size) has been introduced to configure the size of the trash bin. This currently only seems to allow to set the size to a fixed size and doesn't allow to set a percentage value of the available disk space, nor does it allow to reset the value to the default of 50% of the available disk space.
-
I haven't found a way to reset the parameter to the default value:
> ./occ trashbin:size -1 => The "-1" option does not exist
-
I haven't found a way to configure a percentage value of the available disk space:
> ./occ trashbin:size 10% => Failed to parse input size
Steps to reproduce
- Open a command line session
- Execute the given command and see what happens
Environment
Server Configuration
OS: Linux 4.9.218
Web server: Apache2 2.4.46
Database: MariaDB 10.2.24
PHP version: 7.4.8
Nextcloud version: 19.0.2
Client Configuration
Browser: Mozilla Firefox 80.0.1
Operating system: Windows 10
How to support this request?
Expected behavior
The new occ command (
trashbin:size) should allow to set the size of the trash bin to a percentage value of the available disk space and also allow to reset the value to the default of 50%.Current behavior
The new occ command (
trashbin:size) has been introduced to configure the size of the trash bin. This currently only seems to allow to set the size to a fixed size and doesn't allow to set a percentage value of the available disk space, nor does it allow to reset the value to the default of 50% of the available disk space.I haven't found a way to reset the parameter to the default value:
> ./occ trashbin:size -1=> The "-1" option does not existI haven't found a way to configure a percentage value of the available disk space:
> ./occ trashbin:size 10%=> Failed to parse input sizeSteps to reproduce
Environment
Server Configuration
OS: Linux 4.9.218
Web server: Apache2 2.4.46
Database: MariaDB 10.2.24
PHP version: 7.4.8
Nextcloud version: 19.0.2
Client Configuration
Browser: Mozilla Firefox 80.0.1
Operating system: Windows 10