sync
sync¶
Controls synchronizations.
Usage: sync [localpath dstremotepath| [-dpe] [ID|localpath]
If no argument is provided, it lists current configured synchronizations.
If local and remote paths are provided, it will start synchronizing a local folder into a remote folder.
If an ID/local path is provided, it will list such synchronization unless an option is specified.
Note: use the "sync-config" command to show global sync configuration.
Options:
-d | --delete ID|localpath deletes a synchronization (not the files).
-p | --pause ID|localpath pauses (disables) a synchronization.
-e | --enable ID|localpath resumes a synchronization.
[deprecated] --remove ID|localpath same as --delete.
[deprecated] -s | --disable ID|localpath same as --pause.
[deprecated] -r ID|localpath same as --enable.
--path-display-size=N Use at least N characters for displaying paths.
--show-handles Prints remote nodes handles (H:XXXXXXXX).
--col-separator=X Uses the string "X" as column separator. Otherwise, spaces will be added between columns to align them.
--output-cols=COLUMN_NAME_1,COLUMN_NAME2,... Selects which columns to show and their order.
DISPLAYED columns:
ID: an unique identifier of the sync.
LOCALPATH: local synced path.
REMOTEPATH: remote synced path (in MEGA).
RUN_STATE: Indication of running state, possible values:
Pending: Sync config has loaded but we have not attempted to start it yet.
Loading: Sync is in the process of loading from disk.
Running: Sync loaded and active.
Suspended: Sync is not loaded, but it is on disk with the last known sync state.
Disabled: Sync has been disabled (no state cached). Starting it is like configuring a brand new sync with those settings.
STATUS: State of the sync, possible values:
NONE: Status unknown.
Synced: Synced, no transfers/pending actions are ongoing.
Pending: Sync engine is doing some calculations.
Syncing: Transfers/pending actions are being carried out.
Processing: State cannot be determined (too busy, try again later).
ERROR: Error, if any.
SIZE, FILE & DIRS: size, number of files and number of dirs in the remote folder.