1 <article xmlns='http://docbook.org/ns/docbook'>
2 <title>koha-foreach</title>
4 <productname>Koha</productname> is the first free software library automation package.
6 <orgname>The Koha Community</orgname>
7 <uri>http://koha-community.org/</uri>
11 <refentry xml:id="koha-foreach">
14 <refentrytitle>koha-foreach</refentrytitle>
15 <manvolnum>8</manvolnum>
19 <refname>koha-foreach</refname>
20 <refpurpose>Run a command for each Koha instance. Takes the same arguments as koha-list.</refpurpose>
21 <refclass>UNIX/Linux</refclass>
26 <command>koha-foreach</command> <arg><option>--enabled</option></arg> <arg><option>--email</option>|<option>--noemail</option></arg> <arg><option>command</option></arg>
30 <refsect1><title>Description</title>
31 <para>Run a command for each Koha instance. Takes the same arguments as koha-list.</para>
32 <para>The string "__instancename__" is replaced in the argument list with the name of the Koha instance in each iteration.</para>
35 <refsect1><title>See also</title>
36 <simplelist type="inline">
37 <member><command>koha-create-dirs(8)</command></member>
38 <member><command>koha-list(8)</command></member>