Skip to content

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 optionsRequired / OptionalDescription
-nRequiredThe Local storage name.
-nnOptionalThe Local storage new name.
-dOptionalThe Local storage description.
-pdOptionalThe Local storage path to the directory.
-etOptionalTrue or False: The Local storage enable for the trash folder.
-ptOptionalThe Local storage path to the trash folder.
-sOptionalThe Local storage status.
-esOptionalTrue or False: The Local storage enable secure delete.
-fOptionalThe 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"