This describes the arguments to the command-line interface to PG2K, which in development can be run from the top of the project as:
./runit command [ arg1 [ arg2... ] ]
The first argument is a single command word; other arguments may follow as appropriate.
The sync command is used to synchronize the config and/or data files between a filesystem layout and the running PG2K app.
This exits successfully if all config and data matches or can be updated without conflict.
The full command is:
sync [-check] config|data|both
If the -check flag is present then this simply checks if data in the app and on disc is in sync; if not it reports where not and the process exits with a non-zero return value.