Recently I needed to download some files from a Wordpress installation where the client only gave me access to the admin dashboard. Fortunately the All-in-One WP Migration plugin was already installed, so I could take a quick backup of the whole site by downloading the installed plugins, theme and database.
To my surprise downloading the backup from the All-in-One WP Migration plugin only gave me a single compressed
migration.wpress file that any unpack tool refused to extract. A little web search brought me to a five year old tool called Wpress-Extractor but the provided binaries for MacOS refused to work because the package was already too old.
So I decided to rewrite this little helpful tool in Node.js to make it cross-platform compatible for Windows, MacOS and Linux.
Ok here it is: A simple 2-step tutorial how to extract a file with the
.wpress extension on your computer:
Make sure that you have Node.js installed in your computer:
node --version # => v14.12.0
In your terminal navigate to the location where the
.wpress file is downloaded (e.g.
~/Downloads) and run the following command:
npx wpress-extract migration.wpress
It then creates a new folder
migration/ where the content is extracted into.
That's it for today. If you would like to take a deeper look at this tool, the source code is open source, so feel free to visit the GitHub repository: