import-library-content
Imports content into the library.
import-library-content
[-b value | --bootstrap-config=value]
[-t value | --tool-password=value]
<-p value | --file-path=value>
<-m value | --conflict-resolution-mode=value>
<-u value | --user=value>
[-e <true|false> | --prune-empty-directories=<true|false>]
[-a <true|false> | --include-access-rights=<true|false>]
[-i value | --item-type=value]
[-l value | --library-path=value]
Overview
Use this command to import content into the library.
Options
Option | Optional or Required | Default Value | Description |
---|---|---|---|
|
Optional | none | The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file. |
|
Optional | true | The configuration tool password used to decrypt the database password in the bootstrap.xml file. If the tool password is omitted, the command will prompt the end-user for it on the console. See Bootstrap.xml file help topic for more information. |
|
Required | none | The file system path to the file that should be imported into the library. This should be the result of a previous library export and with a name ending with .part0.zip. If the export consists of several parts (ending with .part1.zip and so on), these must be placed in the same folder. |
|
Required | none | Sets the conflict resolution mode that
should be used if there is a conflict with existing content in the library path
given. The conflict resolution mode is applied for each conflicting item that
is imported. Valid values are
KEEP_NEW ,
KEEP_OLD , and
KEEP_BOTH .
|
|
Required | none | The user performing the import should be a Library Administrator. Unless the user is part of the configured default domain, the name of the user needs to include the user's domain name, like DOMAIN\user or user@domain. |
|
Optional | false | Specifies if empty directories should be created. |
|
Optional | true | Specifies if access rights should be imported. |
|
Optional | all_items | Which item types that should be imported
into the library. Valid values are:
|
|
Optional | / | The path in the library where the content is imported. The path must specify an existing folder in the library. |
Parent topic: Command-line reference