Skip to content

Browse: Home / VIP-CLI Commands / vip dev-env / vip dev-env import / vip dev-env import media

vip dev-env import media [options]

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.

Options

ArgumentDescription
-d, --debugActivate debug output
-h, --helpOutput the help for the (sub)command
-s, --slugCustom name of the dev environment
-v, --versionOutput 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

Global Options

ArgumentDescription
-a, --app=<app>Specify the app
-d, --debugActivate debug output
-e, --env=<env>Specify the environment
-h, --helpOutput the help for the (sub)command
-v, --versionOutput the version number
-y, --yesRun the command in production without a confirmation prompt

Last updated: October 04, 2022