<div class="gmail_quote">On Tue, Jun 17, 2008 at 1:23 PM, Nicholas Buttle &lt;<a href="mailto:nicholas_buttle@yahoo.com">nicholas_buttle@yahoo.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is it possible to easily change a group name and all it&#39;s pages? &nbsp;so, for example, &nbsp;the group pmwiki.php?n=BBaCommunity.BBaCommunity changes to pmwiki.php?n=Community.Community and all the pages that belonged to the BBaCommunity group get changed over to the new Community group.<br>

</blockquote></div><br>
Here is an (untested) solution via WikiSh, as it would be typed into the control panel:<br><br>for i in BBaCommunity.*<br>do<br>&nbsp;&nbsp; mv ${i} ${i#BBa}<br>done<br><br>If you have a large number of pages in this group and a relatively slow server then you may need to work with a subset of files (BBaCommunity.[A-M]* and then BBaCommunity.[N-Z]* in a second run or something akin to that).<br>
<br>Note that this will rename BBaCommunity.BBaCommunity to Community.BBaCommunity -- the group is renamed, but not the page.<br><br>As always with any action on a large number of pages it would be wise to back up first and perhaps test it on a test group of 3-4 pages first.<br>
<br>-Peter<br><br><br>