2014-02-23 22:58:17 +00:00
created: 20140223195548209
modified: 20140223195738745
tags: command
title: InitCommand
type: text/vnd.tiddlywiki
Initialise an empty [[WikiFolder|WikiFolders]] with a copy of the specified edition.
```
2014-02-24 13:28:55 +00:00
--init <edition> [<edition> ...]
2014-02-23 22:58:17 +00:00
```
For example:
```
tiddlywiki ./MyWikiFolder --init empty
```
2014-02-24 10:14:17 +00:00
Note:
2014-02-24 10:58:11 +00:00
* The edition directory will be created if necessary
2014-02-24 10:14:17 +00:00
* The "edition" defaults to ''empty''
* The init command will fail if the wiki folder does not exist, or is not empty
* The init command removes any `includeWikis` definitions in the edition's `tiddlywiki.info` file
2014-02-24 13:28:55 +00:00
* When multiple editions are specified, editions initialised later will overwrite any files shared with earlier editions (so, the final `tiddlywiki.info` file will be copied from the last edition)