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
-h, --help Retrieve a description, examples, and available options for a (sub)command. (default: false)
-v, --version Retrieve the version number of VIP-CLI currently installed on the local machine. (default: false)
-d, --debug [value] Generate verbose output during command execution to help identify or fix errors or bugs.
-s, --slug [value] A unique name for a local environment. Default is “vip-local”.

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 07, 2026