moodle_sync
Download course files from Moodle to local course folders; specify a course for all files, or omit it to fetch PDFs from every current course in the background.
Instructions
Download course files to // (SlideMate's library if it's set up, else ~/MoodleFiles).
With a course (id, short name or part of the name), downloads every file in it and returns the result.
Without one, downloads the PDFs (lecture slides, readings) from every current course in the background and
returns {"running": true}; call moodle_sync_status until it reports the result. Existing files of the same
size are skipped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course | No | ||
| skip_existing | No |