I'm using Piers Harding's bulk upload course (https://github.com/piersharding/moodle-tool_uploadcourse) which works fine with the GUI, but when I tried it with the command line, it seems to not like my input.
He provides this example:
sudo -u www-data /usr/bin/php admin/tool/uploadcourse/cli/uploadcourse.php --action=addupdate \
--mode=delete --file=./courses.csv --delimiter=comma
But since it's a redhat box, I do not use sudo. Although, I do su root prior to running the script. The error I get is:
Moodle course uploader running ...
Execute Course Upload.
But the category uploads fine in the GUI. Any help would be appreciated. Thanks!