On 18/05/2010 11:24, Manuel Vacelet wrote:
> On Mon, May 17, 2010 at 8:53 PM, Sébastien Le Callonnec<slc_ie@...> wrote:
>> One remaining question, though (probably a FAQ, actually): is there a
>> way of not importing the PhpWiki “core” pages? When exporting, I
>> usually do a full dump, which contains PhpWikiAdministration and all the
>> Help pages, etc. but I don't to import them back, as I may be losing the
>> changes done to these pages as part of the upgrade.
>>
>> Any obvious way of achieving this?
>
> Hi Sebastien,
>
> To handle this case we had to develop a script that remove from within
> this archive all pages with "The PhpWiki team" as author and without
> modification (and maybe pages that are only modified by "The PhpWiki
> team").
>
> I don't have it right now but I could had a look in my archives sometime,
> Manuel
>
Hi Manuel,
Good one, this does the trick indeed. There are still a few “Help”
files left behind, so I did the following:
rm -f Help*
grep -l "author=The%20PhpWiki%20programming%20team" * | xargs rm -f
Thanks a mil,
Sébastien.
|