|
3.
|
|
|
Command-line interfaces (CLI)
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:9
|
|
4.
|
|
|
Command-line interfaces (CLI) allow advanced users to interact with Mahara through the command line or terminal rather than through a graphical interface. That can speed up certain actions or make them easier to execute.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:11
|
|
5.
|
|
|
You can view help information on the individual commands that are available for each script:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:14
|
|
6.
|
|
|
``sudo -u www-data php htdocs/admin/cli/[file name of the script].php -h``
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:16
|
|
7.
|
|
|
|new in Mahara 18.10| Delete certain groups in bulk
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:25
|
|
8.
|
|
|
.. image:: images/newin18point10.*
:alt: new in Mahara 18.10
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
../source/shortcuts.rstext:1
|
|
9.
|
|
|
If you have a large site and deleted a lot of users, you may also wish to clean up old groups in an efficient way. You can do the following with the bulk group deletion script:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:27
|
|
10.
|
|
|
delete all groups that have no members, e.g. after users were deleted;
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:29
|
|
11.
|
|
|
and delete all groups that have only site administrators as members;
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:38
|
|
12.
|
|
|
and / or delete only groups associated with a certain institution.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
../source/administration/cli.rst:39
|