1.0.0 • Published 3 years ago

wpress-extract v1.0.0

Weekly downloads
52
License
MIT
Repository
github
Last release
3 years ago

Usage

Prerequisites: Make sure that you have Node.js installed on your machine.

# 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:

wpress-extract --out ./alternate-output your-migration.wpress
OptionDescription
-o, --out <dir>Define an alternate directory where the archive should be extracted to.
-f, --forceSkip 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 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 HausWebsiteTwitter

License

MIT - see LICENSE for details.