|
5.
|
|
|
You can view help information on the individual commands that are available for each script:
|
|
|
|
各スクリプトで使用できる個々のコマンドに関するヘルプ情報を表示できます。
|
|
Translated by
Mitsuhiro Yoshida
|
|
|
|
Located in
../source/administration/cli.rst:14
|
|
6.
|
|
|
``sudo -u www-data php htdocs/admin/cli/[file name of the script].php -h``
|
|
|
|
``sudo -u www-data php htdocs/admin/cli/[file name of the script].php -h``
|
|
Translated by
Mitsuhiro Yoshida
|
|
|
|
Located in
../source/administration/cli.rst:16
|
|
7.
|
|
|
Delete certain groups in bulk
|
|
|
|
特定のグループを一括削除します
|
|
Translated and reviewed by
Masayuki Kuwada
|
|
|
|
Located in
../source/administration/cli.rst:33
|
|
8.
|
|
|
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:
|
|
|
|
大規模なサイトがあり、多くのユーザを削除した場合は古いグループを効率的にクリーンアップすることもできます。バルクグループ削除スクリプトを使用して、次の操作を実行できます:
|
|
Translated and reviewed by
Mitsuhiro Yoshida
|
|
|
|
Located in
../source/administration/cli.rst:27
|
|
9.
|
|
|
delete all groups that have no members, e.g. after users were deleted;
|
|
|
|
メンバを持たないすべてのグループを削除します。例えば、ユーザが削除された後;
|
|
Translated and reviewed by
Mitsuhiro Yoshida
|
|
|
|
Located in
../source/administration/cli.rst:29
|
|
10.
|
|
|
and delete all groups that have only site administrators as members;
|
|
|
|
そしてサイト管理者だけをメンバとして持つすべてのグループを削除します;
|
|
Translated and reviewed by
Mitsuhiro Yoshida
|
|
|
|
Located in
../source/administration/cli.rst:38
|
|
11.
|
|
|
and / or delete only groups associated with a certain institution.
|
|
|
|
および/または特定のインスティテューションに関連するグループだけ削除します。
|
|
Translated and reviewed by
Masayuki Kuwada
|
|
|
|
Located in
../source/administration/cli.rst:39
|
|
12.
|
|
|
Execute the script with the following command. A dry run is made by default so that no data is deleted by accident.
|
|
|
|
次のコマンドでスクリプトを実行します。データが偶発的に削除されないようにデフォルトでドライランが実行されます。
|
|
Translated and reviewed by
Mitsuhiro Yoshida
|
|
|
|
Located in
../source/administration/cli.rst:41
../source/administration/cli.rst:64
../source/administration/cli.rst:89
|
|
13.
|
|
|
``sudo -u www-data php htdocs/admin/cli/delete_inactive_groups.php``
|
|
|
|
``sudo -u www-data php htdocs/admin/cli/delete_inactive_groups.php``
|
|
Translated by
Mitsuhiro Yoshida
|
|
|
|
Located in
../source/administration/cli.rst:43
|
|
14.
|
|
|
Delete certain users in bulk
|
|
|
|
特定のユーザを一括削除します
|
|
Translated and reviewed by
Masayuki Kuwada
|
|
|
|
Located in
../source/administration/cli.rst:43
|