modify-local-storage
Allows you to modify a local storage space from the S-Filer Portal solution.
Syntax:
shell
sfiler-cli [options] modify-local-storage [command options]
Command options | Required / Optional | Description |
---|---|---|
-n | Required | The Local storage name. |
-nn | Optional | The Local storage new name. |
-d | Optional | The Local storage description. |
-pd | Optional | The Local storage path to the directory. |
-et | Optional | True or False: The Local storage enable for the trash folder. |
-pt | Optional | The Local storage path to the trash folder. |
-s | Optional | The Local storage status. |
-es | Optional | True or False: The Local storage enable secure delete. |
-f | Optional | The force update (skip warnings and optional validations). |
Example:
This command changes the name of the local storage space "my storage" to "my new storage".
shell
./sfiler-config-cli.sh -l my-user -p my-password -cf "conf/sfiler.conf" modify-local-storage -n "my storage" -nn "my new storage"