Skip to content

vip dev-env import media

Import media files to a running local environment.

Usage

vip dev-env import media [options]

Options

OptionDescription
-d, --debug Generate verbose output during command execution to help identify or fix errors or bugs.
-h, --help Retrieve a description, examples, and available options for a (sub)command.
-s, --slug A unique name for a local environment. Default is “vip-local”.
-v, --version Retrieve the version number of VIP-CLI currently installed on the local machine.

Examples

- Import the contents of the "uploads" directory from a path on the user's local machine to the "/wp-content/uploads" directory of the local environment named "example-site".
$ vip dev-env import media /Users/example/Desktop/uploads --slug="example-site"

Last updated: July 11, 2024