I am trying to split an ikiwiki into two wikis.
Suppose I have an ikiwiki called myiki (compare this question from ikiwiki.info), which contains the pages
pageA1,pageA2,...,pageB1,pageB2,...
now I want to have two wikis called myikiA
and myikiB
, such that:
myikiA
containspageA1,pageA2,...
The history ofmyikiA
should contain the whole history of those pages, but no history ofpageB1,pageB2,...
and:
myikiB
contains pageB1,pageB2,...
The history ofmyikiB
should contain the whole history of those pages but no history ofpageA1,pageA2,...
In a first step I made a copy of my scrdir
and tried to remove a page named foo
like this (note that in the scrdir
there are files called foo.mdwn
and directories foo
as well).
To do so, I did this command:
sudo git filter-branch --tree-filter 'find . -name foo* -exec rm -r -f {} \;' --prune-empty -f HEAD
Rewrite 3cbc4646145e31cf7ce23d5e8397baaebab64c60 (179/1439)find: `./index/testdir/foo': No such file or directory
tree filter failed: find . -name foo* -exec rm -r -f {} \;
Any Idea what's wrong with it?
Is there a way to give a list of pages and split the wiki as described above?