wp-zip

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2023 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

wp-zip

Quickly archive a live WordPress site to a local zip file.

Installation

via Prebuilt Binaries

Prebuilt binaries are available for Linux, macOS, and Windows. You can download them from the releases page.

via Go Install

If you have Go installed, you can install wp-zip with the following command:

go install github.com/jfortunato/wp-zip@latest

Usage

wp-zip -h <sftp-host> -u <sftp-user> output.zip

You will be prompted for the sftp password (if -p flag not given). You must already have access to the site via SFTP. The path to the public directory (where wp-config.php lives) should be automatically detected, but if it can't, you will be prompted for it.

Importing with LocalWP

Once you have a zip file, you can import it into LocalWP. This makes it very easy to quickly get up and running with a local WordPress site.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL