econftool - Man Page

Configuration File Manager

Synopsis

econftool COMMAND [OPTIONS] </path/to/configfile>.conf

Description

Tool which allows to easily manage the configuration file snippets.

Commands

show

Reads all snippets for <filename>.conf (in /usr/etc and /etc), and prints all groups,keys and their values. The root directories is /. It can be set by the environment variable $ECONFTOOL_ROOT.

cat

Prints the content of the files and the name of the file in the order as it has been read.

edit

Starts the editor $EDITOR (environment variable) where the groups, keys and values can be modified and saved afterwards.

OPTIONS
-f, --full:      Copy the original configuration file to /etc instead of
                 creating drop-in files.
--use-home:      Only has an effect if the user is root.
                 Chooses the root home directory instead of /etc.

revert

Reverts all changes to the vendor versions. Basically deletes the config file and snippet directory in /etc.

OPTIONS
 -y, --yes:       Assumes yes for all prompts and runs non-interactively.

general OPTIONS

--comment <character>

 Character which starts a comment. ('#' default).

--delimiters <string>

Characters which separates key/value entries. ("=" default).
e.g. --delimiters="= "
e.g. --delimiters=spaces   regarding all spaces

See Also

libeconf

Info

2 Apr 2021 libeconf configuration file manager