---
name: "blaze-init"
section: "1"
platform: "linux"
package: "blazeblogger"
version: "1.2.0-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/blaze-init"
---

# blaze-init(1)

creates or recovers a BlazeBlogger repository

## NAME

blaze-init - creates or recovers a BlazeBlogger repository

## SYNOPSIS

**blaze-init** \[**-fqV**\] \[**-b** *directory*\]

**blaze-init** **-h**\|**-v**

## DESCRIPTION

**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-init
  Created a BlazeBlogger repository in .blaze.
```

Create a new blog in ~/public\_html:

```
  ~]$ blaze-init -b ~/public_html
  Created a BlazeBlogger repository in /home/joe/public_html/.blaze.
```

Revert a configuration file and default templates to their initial state:

```
  ~]$ blaze-init -f
  Recovered a BlazeBlogger repository in .blaze.
```

Or if you want to see what files have been reverted:

```
  ~]$ blaze-init -fV
  Created .blaze/config
  Created .blaze/theme/default.html
  Created .blaze/style/default.css
  Created .blaze/lang/en_US
  Recovered a BlazeBlogger repository in .blaze.
```

## SEE ALSO

[**blaze-config**(1)](/blaze-config/1.md), [**blaze-add**(1)](/blaze-add/1.md)

## BUGS

To report a bug or to send a patch, please, add a new issue to the bug tracker at \<http://code.google.com/p/blazeblogger/issues/\>, or visit the discussion group at \<http://groups.google.com/group/blazeblogger/\>.

## COPYRIGHT

Copyright (C) 2008-2011 Jaromir Hradilek

This program is free software; see the source for copying conditions. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
