Skip to content

export-notification-theme ​

Exports the content of a notification theme in a zip file. The base directory in the zip file corresponds to the notification theme id. This id is used when the theme is imported after being modified.

Syntax:

shell
sfiler-config-cli [options] export-notification-theme [command options]
Command optionsRequired / OptionalDescription
-thRequiredThe name of the theme to be exported.
-odOptionalThe output directory where the generated file will be saved. If not provided, the file will be saved in the current folder.

Example:

The examples leave out the global -p option (the password): the CLI asks for it, so it is not displayed and does not end up in the history of the terminal.

shell
./sfiler-config-cli.sh -l my-user -cf "conf/sfiler.conf" export-notification-theme -th "notification" -od "/tmp/theme"
shell
.\sfiler-config-cli.bat -l my-user -cf "conf\sfiler.conf" export-notification-theme -th "notification" -od "/tmp/theme"

This command will export the “notification” notification theme as a zip file in the /tmp/theme directory.

It will be possible to make modifications directly in the file structure and then re-import this theme later using the import-notification-themes command, taking care to specify the -th parameter to indicate the theme to be re-imported.

Warning

The export process only takes into account the languages activated in the Administrative Console. If only English is activated (en), the zip file will only contain English files.