contentimporter import
contentimporter import is used to import content and metadata files into the Repository.
Synopsis
Description
Import content and metadata files into the Repository.
You can find options' descriptions by typing contentimporter import --help at a command line.
Options
The options for contentimporter import are:
- -f or --force
- Force to import all files even if the last import was successful. This is equivalent to deleting the import artifacts.
- --help
- Print out a short description for the command.
- -i or --input input-directory
-
The input directory where the sources are located.
Paths that contain spaces must be enclosed in double quotes.
- -g or --reassign-ids
- Generate new identifiers for topics and maps.
- -r or --repository-path repository-path
-
The location in the Repository where the files are going to be be imported.
Paths that contain spaces must be enclosed in double quotes.
- -c or --client-id
- The authentication client identifier.
- -s or --client-secret
- The authentication client secret.
Examples
The following command imports the content and metadata files in the C:\Import\In directory into the Repository. If the corresponding object for a file does not exist, an object is created in the General/Import folder.
ContentImporter import --input C:\Import\In --repository-path General/Import