# confmg Confmg allows you to have all your config files stored in a folder that is synced to a remote server (e.g. GitHub, Cloud Storage, ...) and selectively copy them to the right place on different platforms. For example, you can have your `.gitconfig` file saved in the folder `~/.confmg`, which is under a private repository on GitHub. The same folder contains a `confmg.json` file that includes an entry with the label "git" and the respective file location (usually `~/.gitconfig`). Then, with only one command you can copy this `.gitconfig` file into it's right location. Other config files can have different locations depending on the platform but always the same content (e.g. VSCode configuration is under `~/.config/Code/User/settings.json` on Linux and `~/AppData/Roaming/Code/User/settings.json` on Windows). ## Installation If you have the Rust toolchain installed you can simply run `cargo install confmg`. Otherwise you can download a binary from the [Releases](https://github.com/pablo-ng/confmg/releases) section. ## Configuration The configuration for confmg is written in a JSON file. The default path is `~/.confmg/confmg.json`, but it can be overwritten with the `-c, --config-file` argument or the `CONFMG_CONFIG` environment variable. The config file should be written in the following structure: ```json { "