Skip to content

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

License

Notifications You must be signed in to change notification settings

jarjee/wpress-extract

 
 

Repository files navigation

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

Build from Source

git clone https://github.com/jarjee/wpress-extract
cd wpress-extract
make build

Extract Archives

# Extract a wpress file
./bin/wpress-extract -input your-migration.wpress

# Specify custom output directory
./bin/wpress-extract -input your-migration.wpress -out ./output-dir

# Force overwrite existing directory
./bin/wpress-extract -input your-migration.wpress -force

The command creates a new directory with the same name (e.g. your-migration/) where it extracts the archive contents.

Compress Archives

# Compress a folder to a wpress file
./bin/wpress-extract -mode compress -input your-migration/

# Specify custom output file
./bin/wpress-extract -mode compress -input your-migration/ -out my-migration.wpress

# Force overwrite existing wpress file
./bin/wpress-extract -mode compress -input your-migration/ -out my-migration.wpress -force

Options

Option Description
-input <file> Path to the input .wpress file (required, can also be provided as positional argument)
-out <dir> Define an alternate directory where the archive should be extracted to.
-force Skip the check if the output directory exists and override the content in it.
-mode <mode> Operation mode: extract (default) or compress
-help Show help message
  • Note: Users can also drag-and-drop files onto the executable instead of using -input

Acknowledgements

The functionality of this package is inspired by the Wpress-Extractor tool, and is a golang reimplementation of ofhouse/wpress-extract. This fork contains modifications assisted by aider, an LLM-powered coding assistant - if you're wondering about the inconsistent quality of code; most of the code in this repo was generated via aider as a trail-run.

License

MIT - see LICENSE for details.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 91.3%
  • Shell 5.5%
  • Makefile 3.2%