That works great Cybernerd. Thanks very much. Would you mind if I post this (crediting you) or link to this on the Moodle.org site for other Moodle admins?
I notice that each time no .zip file exists, it outputs
I guess that doesn't matter?Code:
/bin/cp: missing file operand
Try `/bin/cp --help' for more information.
Thanks for all your help