Skip to content

vip import media

Import media files to the production environment of your application from a compressed web archive

Usage

vip import-media [options] [command]

Options

OptionDescription
-a, --app Specify the app
-d, --debug Activate debug output
-e, --env Specify the environment
-E, --exportFileErrorsToJson Export any file errors encountered to a JSON file instead of a plain text file (disabled by default)
-f, --force Skip confirmation (disabled by default)
-h, --help Output the help for the (sub)command
-i, --importIntermediateImages Import intermediate image files (disabled by default)
-o, --overwriteExistingFiles Overwrite any existing files (disabled by default)
-v, --version Output the version number

Examples

- Start a media import with the contents of the archive file in the URL
$ vip import media @mysite.production https://

- Check the status of the most recent import. If an import is running, this will poll until it is complete.
$ vip import media status @mysite.production

- Abort an ongoing import
$ vip import media abort @mysite.production

Subcommands

NameDescription
abort Abort the Media Import running for your App
status Check the status of the latest Media Import

Last updated: February 08, 2024