3 ms·
Thats interesting because I recently tackled the same problem of storing configuration details for backing up files. I took Python's ConfigParser module and mo
by statictype 18y ago
Thats interesting because I recently tackled the same problem of storing configuration details for backing up files.
I took Python's ConfigParser module and modified it to suit my needs. The config file looks a bit like this:
[directory-details]
path = /media/programming
exclude_dirs = *log_files, *temp_files
[directory-details]
path = /media/documents
exclude_dirs = /media/documents/archive
Honestly, though, xml is a perfectly valid format for storing such configuration.
- moe 18y agoHonestly, though, xml is a perfectly valid format for storing such configuration. Not when a human has to touch it without tool support.