Presentation
The Tool Sync component is a unified alternative covering the various needs of feeding a Moodle platform with data from flat CSV files (Excel, for example). It complements and improves the mechanisms of Moodle's standard management tools by gathering them into a single tool and unifying the processing of data feeds.
Guides
Feature summary
This plugin unifies all mass processing operations based on CSV files in a systematic processing scheme:
Temporary storage of command files
Manual execution of a preselected command file
Systematic (cron) execution of the preselected command file (except in particular cases)
Archiving of processed command files
Generation of a resume file
Generation and archiving of a detailed report file
The process is applied to the key data units of Moodle, which are:
Course functions:
Mass deletion of courses (via an ID list file)
Mass reset of courses (via CSV command file)
Mass creation of courses (based on templates) and categories
Mass check of course identifier existence
Association of metacourse links
User account functions:
Enrolment functions:
Adding roles
Removing roles
Creating course groups
Assigning to a course group
Removing from a course group
Changing a course group (exclusive reassignment)
Course enrolment start and end dates
Cohort functions:
Generic mechanisms
Generic mechanisms generally apply whatever the file type (with a few exceptions).
Scheduling of the automatic execution task
Generation of a “tryback” file of processing errors
Archiving of processed files
Storage of execution reports
Course operations
User operations
Enrolment operations
User avatar operations
Cohort operations
Course group operations
Technical sheet
Component type: Administration tool
Name: Tool Sync (Synchronisation of courses and users through CSV files)
Technical name: tool_sync
Location: admin/tool/sync
Supported versions: 
to

Distribution: PRO
Availability: Stable.
Builds
Note: a “Failing” status does not necessarily mean that the plugin does not work. This status reflects the result of automated tests checking the code against Moodle's strict standards. We are continuously working on bringing all supported plugins progressively into compliance with these development rules.
| Branch | Continuous integration tests |
| 405 |
|
| 501 |
|
Credits