Howard Miller
Lead maintainer
Simple plugin to generate a list of 'cp' commands for all optional plugins within your Moodle site when you want to copy them all to a different version. Non-core modules are automagically discovered and included.
Both web and CLI versions. To illustrate...
$ php upgradecopy.php --from=moodle41 --to=moodle43
cp -R moodle41/app/public/mod/attendance moodle43/app/public/mod
cp -R moodle41/app/public/mod/board moodle43/app/public/mod
cp -R moodle41/app/public/mod/checklist moodle43/app/public/mod
cp -R moodle41/app/public/mod/choicegroup moodle43/app/public/mod
cp -R moodle41/app/public/mod/customcert moodle43/app/public/mod
cp -R moodle41/app/public/mod/game moodle43/app/public/mod
cp -R moodle41/app/public/mod/helixmedia moodle43/app/public/mod
cp -R moodle41/app/public/mod/hsuforum moodle43/app/public/mod