vip dev-env import media
Import media files to the dev environment of your application from a compressed web archive. This command will copy the contents of a folder to the `uploads` folder of the target dev environment.
Usage
vip dev-env-import-media [options]
Options
Option | Description |
---|---|
-d , --debug |
Activate debug output |
-h , --help |
Output the help for the (sub)command |
-s , --slug |
Custom name of the dev environment |
-v , --version |
Output the version number |
Examples
- Import contents of the given WP uploads folder file into the media library of the default dev environment
$ vip dev-env import media path/to/wp-content/uploads
- Import contents of the given WP uploads folder file into the media library of a dev environment named `mysite`
$ vip dev-env import media path/to/wp-content/uploads --slug=mysite
Last updated: April 24, 2024