This question about Not sure...: Answered

Can I create a new wiki web from command line?

Can I create a new wiki web from command line? E.g.: twiki create web "NewInfo" If not, why not?

Answer

Copy the _default directory in data and pub and preserve the permissions:

sudo cp -Rp data/_default/ data/Newweb
sudo cp -Rp pub/_default/ pub/Newweb

Also, TWiki:Plugins/TWikiShellContrib which describes itself as "TWikiShellContrib is a shell that can be use to replace all twiki command line scripts with a single interface. Each command available in the twikishell is also available as a command line option." However, this plugin still needs to be ported.

QuestionForm edit

Subject Not sure...
Extension
Version TWikiRelease04x02x03
Status Answered
Topic revision: r7 - 07 Feb 2009, ArthurClemens
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy