mirror of
https://github.com/meganz/MEGAcmd
synced 2025-08-31 13:55:10 +00:00
Add docs for the sync-config command
This commit is contained in:
14
contrib/docs/commands/sync-config.md
Normal file
14
contrib/docs/commands/sync-config.md
Normal file
@@ -0,0 +1,14 @@
|
||||
### sync-config
|
||||
Shows and modifies global sync configuration.
|
||||
|
||||
Usage: `sync-config [--delayed-uploads-wait-seconds=waitsecs | --delayed-uploads-max-attempts=attempts]`
|
||||
<pre>
|
||||
Displays current configuration if no options are provided. Configuration values are persisted across restarts.
|
||||
|
||||
New uploads for files that change frequently in syncs will be delayed until a wait time passes.
|
||||
Options:
|
||||
--delayed-uploads-wait-seconds Sets the seconds to be waited before a file that's being delayed is uploaded again. Default is 30 minutes (1800 seconds).
|
||||
Note: wait seconds must be between 60 and 86399 (inclusive).
|
||||
--delayed-uploads-max-attempts Sets the max number of times a file can change in quick succession before it starts to get delayed. Default is 2.
|
||||
Note: max attempts must be between 2 and 5 (inclusive).
|
||||
</pre>
|
@@ -4,12 +4,10 @@ Controls synchronizations.
|
||||
Usage: `sync [localpath dstremotepath| [-dpe] [ID|localpath]`
|
||||
<pre>
|
||||
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.
|
||||
|
||||
If provided local and remote paths, 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 and modify global sync configuration.
|
||||
|
||||
Options:
|
||||
-d | --delete ID|localpath deletes a synchronization (not the files).
|
||||
|
Reference in New Issue
Block a user