Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ofhouse/wpress-extract

A simple Node.js tool for extracting wpress archive files generated by the All-in-one-Wp-Migration Wordpress plugin.
https://github.com/ofhouse/wpress-extract

cli wordpress

Last synced: about 10 hours ago
JSON representation

A simple Node.js tool for extracting wpress archive files generated by the All-in-one-Wp-Migration Wordpress plugin.

Awesome Lists containing this project

README

        


wpress-extract



A simple CLI tool to unpack .wpress files generated by the All-in-One WP Migration Wordpress plugin.





A funny comic from xkcd.com about creating new standards in computer industry


"Standards" by xkcd.


## Usage

> **Prerequisites**: Make sure that you have [Node.js](https://nodejs.org/) installed on your machine.

```sh
# One-time usage
npx wpress-extract your-migration.wpress

# Or install it locally
npm i -g wpress-extract
wpress-extract your-migration.wpress
```

The command then creates a new directory with the same name (in this example `your-migration/`) where it extracts the content of the archive into.

### Options

You can customize the standard behavior of the `wpress-extract` command with these custom options that can be added:

```sh
wpress-extract --out ./alternate-output your-migration.wpress
```

| Option | Description |
| ----------------- | ------------------------------------------------------------------------------------- |
| `-o, --out ` | Define an alternate directory where the archive should be extracted to. |
| `-f, --force` | Skip the check if the output directory already exists and override the content in it. |

## Acknowledgements

The functionality of this package is inspired by the [Wpress-Extractor](https://github.com/fifthsegment/Wpress-Extractor) tool.
Since the provided binaries stopped working on MacOS and no solution for Linux is available I created this tool as a cross-platform alternative.

## Author

| [
Felix Haus](https://github.com/ofhouse)
[Website](https://felix.house/) • [Twitter](https://twitter.com/ofhouse)|
| :---: |

## License

MIT - see [LICENSE](./LICENSE) for details.