https://github.com/coriolinus/ghost2zola
convert ghost exports to zola markdown directories
https://github.com/coriolinus/ghost2zola
Last synced: over 1 year ago
JSON representation
convert ghost exports to zola markdown directories
- Host: GitHub
- URL: https://github.com/coriolinus/ghost2zola
- Owner: coriolinus
- License: mit
- Created: 2020-10-22T15:42:41.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-24T23:06:09.000Z (over 5 years ago)
- Last Synced: 2024-04-24T04:13:03.271Z (about 2 years ago)
- Language: Rust
- Size: 44.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `ghost2zola`: migrate a ghost blog to zola
## Preparation
- Export your entire ghost directory into a tar:
- The following data formats are supported:
- `ghost.tar`
- `ghost.tar.gz`
- `ghost.tar.bz2`
- This program analyzes the input file type, so no magic filenames are necessary.
- Note: unlike ghost's built-in data exports, this preserves media such as images.
## Usage
```
USAGE:
ghost2zola [OPTIONS]
FLAGS:
-h, --help
Prints help information
-V, --version
Prints version information
OPTIONS:
--prefix
Relative prefix within the archive
In cases where the archive contains only a single blog, this is not necessary. When the archive contains
several blogs, this can be set to any distinct prefix winnowing the selection to a single selection.
If you're not sure what prefixes might be available, consider using the `find_ghost_db` tool.
ARGS:
Path to a possibly-compressed tar archiving a ghost blog
Path to the base directory into which the ghost blog should be expanded.
Normally, this is the `content/blog` directory of your zola installation.
```