blaze-init1
Creates or recovers a blazeblogger repository
Usage
blaze-init [-fqV]
[-b
directory]
blaze-init {-h | -v}
Overview
blaze-init either creates a fresh new BlazeBlogger repository, or recovers an existing one in case it is corrupted. Optionally, it can also revert a configuration and default templates to their original state, leaving all user data (that is, both blog posts and pages) intact.
Options
-
-b directory, --blogdir directory -
Allows you to specify a directory in which the BlazeBlogger repository is to be blaced. The default option is a current working directory.
-
-f, --force -
Reverts existing configuration, theme, and language files to their initial state. By default, these files are kept intact.
-
-q, --quiet -
Disables displaying of unnecessary messages.
-
-V, --verbose -
Enables displaying of all messages, including a list of created files.
-
-h, --help -
Displays usage information and exits.
-
-v, --version -
Displays version information and exits.
Example usage
Create a new blog in a current directory:
~]$ blaze-initCreated a BlazeBlogger repository in .blaze.
Create a new blog in ~/public_html:
~]$ blaze-init -b ~/public_htmlCreated a BlazeBlogger repository in /home/joe/public_html/.blaze.
Revert a configuration file and default templates to their initial state:
~]$ blaze-init -fRecovered a BlazeBlogger repository in .blaze.
Or if you want to see what files have been reverted:
~]$ blaze-init -fVCreated .blaze/configCreated .blaze/theme/default.htmlCreated .blaze/style/default.cssCreated .blaze/lang/en_USRecovered a BlazeBlogger repository in .blaze.
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 2 times.