mache.sync.diags.sync_diags
- mache.sync.diags.sync_diags(other, direction='to', machine=None, username=None, config_filename=None)[source]
Synchronize diagnostics files between supported machines
- Parameters
other (str) – The other machine to sync to or from
direction ({'to', 'from'}, optional) – The direction to sync (to or from the other machine).
machine (str, optional) – The name of this machine. If not provided, it will be detected automatically
username (str, optional) – The username to use on the other machine
config_filename (str, optional) – A config file to override default config options for the machine