Simple utility to convert Janus .cfg files to .jcfg and vice-versa.
- Author
- Lorenzo Miniero loren.nosp@m.zo@m.nosp@m.eetec.nosp@m.ho.c.nosp@m.om
- Copyright
- GNU General Public License v3
Historically, Janus has made use of INI .cfg files for the configuration of core and plugins. Recently, support for the libconfig format has been added too. Due to the more expressive nature of libconfig, .jcfg files have been made the default: while support for .cfg files still exists as a fallback, new features may only be available in .jcfg files. As such, you may want to convert your existing .cfg configuration files to .jcfg as soon as possible, which is what this tool allows you to do. Notice that the tool also allows you to go the other way around, although libconfig concepts that cannot be expressed in INI will be lost in the process.
Using the utility is quite simple. Just pass, as arguments to the tool, the path to the file you want to convert (.cfg or .jcfg) and the path to the target file (.jcfg or .cfg), e.g.:
./janus-cfgconv /path/to/config.cfg /path/to/config.jcfg
Tools and utilities