Options
Global options apply to every command. See Global options.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Keep one local folder per unit in step with Moodle: new files arrive, changed ones update, and a file you edited is never overwritten.
moodle sync [options] [unit]
| Argument | Required | Description |
|---|---|---|
unit | No | Unit code, name, id or URL; omit for every unit |
| Flags | Description |
|---|---|
--to <directory> | Folder holding one subfolder per unit; defaults to the current directory. |