Importing content using the command line
Content Importer can be run from the command line.
Synopsis
Description
Content Importer exposes commands that perform specific imports, such as contentimporter import and contentimporter run. Each command defines its own arguments. Type --help after each command to access a brief documentation, and contentimporter help for a list of available commands with a short description.
Errors and other messages are by default logged to the console. Logging can be configured in the NLog.config file which is stored in the directory where the executable is located.
The account to connect to the Repository must be added in interactive mode (that is, when you start Content Importer from the Start menu).
Commands
The available Content Importer commands are:
contentimporter convert-and-import- Convert content and metadata files and import them in the Repository.
contentimporter help- Print the list of available commands with short descriptions.
contentimporter import- Import content and metadata files in the Repository.
contentimporter import-translation- Import translations in the Repository.
contentimporter run- Execute the job files.
contentimporter version- Print out the version of the Content Importer in use.
Options
The options for contentimporter are (type contentimporter --help at a command line to find them):
--help- Print out documentation for a given command.
--version- Print out the version of the Content Importer in use.