Skip to content

vip import media [options] [command]

Import media files to a production environment from an archived file available at a publicly accessible URL

Commands

NameDescription
abortAbort the media import running for your environment
statusCheck the status of the most recent media import

Options

ArgumentDescription
-a, --appSpecify the application.
-d, --debugActivate debug output.
-e, --envSpecify the environment.
-E, --exportFileErrorsToJsonExport any file errors encountered to a JSON file instead of a plain text file (disabled by default).
-f, --forceSkip confirmation (disabled by default).
-h, --helpOutput the help menu for the (sub)command.
-i, --importIntermediateImagesImport intermediate image files (disabled by default).
-o, --overwriteExistingFilesOverwrite any existing files (disabled by default).
-v, --versionOutput the version number.

Examples

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

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

   # Abort an import in progress
    $ vip @mysite.production import media abort

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: June 27, 2023