galileorc(5) | File Formats Manual | galileorc(5) |
galileorc - configuration files for the galileo Fitbit synchronization utility
The galileorc file is used to provide default settings to the galileo(1) utility. Any settings that would normally be passed as command-line arguments to galileo can, instead, be present in this configuration file to prevent having to repeat them again and again.
Settings provided in the configuration files can be overridden by run-time command-line switches. See galileo(1)
The following files will be read if present. Later one override previous settings and settings provided on the command-line override settings defined in configuration files.
The settings file is defined in YAML format. Blank lines and comments (from the first hash character '#' to the end of the line) are ignored.
The configuration file is parsed as a dictionary of settings, which means that each setting is defined using a keyword followed by a colon character. For single-value settings (the majority), the value follows the colon, for example:
do-upload: true
For settings of type list (such as the tracker ID inclusion and exclusion lists), the values appear with an indentation on subsequent lines and prefixed with a dash, for example:
include:
- '123456789ABC'
- '9876543210AB'
The following settings can be added to the configuration files - not all options have to be specified; any that are not mentioned will leave the defaults in effect. See galileo(1) for details about the default values.
The following is an example configuration file:
daemon-period: 60000 keep-dumps: false do-upload: true dump-dir: ~/.galileo-tracker-data logging: verbose force-sync: false https-only: false include:
- '123456789ABC'
- '9876543210AB' exclude:
- 'AABBCCDDEEFF'
- '881144BB1234'
Written and maintained by Benoît Allard, with contributions from other authors.
Tracker IDs which consist of only numbers must be surrounded with single quotes (as in the EXAMPLE section above). It's probably a good idea to always quote tracker IDs to avoid possible confusion.
Please report additional bugs to <https://bitbucket.org/benallard/galileo/issues>.
June 2014 | 0.5.1 |