#!/usr/bin/env php Usage: gab-sync.php -a ACTION [options] Parameters: -a simulate | sync | sync-one | clear-all | delete-all [-t] TARGET-GAB Target GAB to execute the action / unique-id on. Optional, if not set, executed on all or default gab. [-u] UNIQUE-ID Actions: simulate Simulates the GAB synchronization and prints out statistics and configuration suggestions. sync Synchronizes all data from the GAB to the global folder, clearing all existing data if configuration changed! sync-one -u UNIQUE-ID Tries do find the entry with UNIQUE-ID and updates the chunk this entry belongs to. clear-all Removes all data from the global folder. delete-all Like clear-all but also deletes the global folder.