On Tue, Jun 17, 2008 at 1:23 PM, Nicholas Buttle <[EMAIL PROTECTED]> wrote:
> Is it possible to easily change a group name and all it's pages? so, for > example, 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. > Here is an (untested) solution via WikiSh, as it would be typed into the control panel: for i in BBaCommunity.* do mv ${i} ${i#BBa} done 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). Note that this will rename BBaCommunity.BBaCommunity to Community.BBaCommunity -- the group is renamed, but not the page. 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. -Peter
_______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users