export-library-content
Exports content from the library.
export-library-content
[-f | --force]
[-b value | --bootstrap-config=value]
[-t value | --tool-password=value]
<-p value | --file-path=value>
<-u value | --user=value>
[-a <true|false> | --include-access-rights=<true|false>]
[-c <true|false> | --compressed-content=<true|false>]
<-i value | --item-type=value>
<-l value | --library-path=value>
[--treat-as-single-item=<true|false>]
Overview
Use this command to export content from the library.
Options
Option | Optional or Required | Default Value | Description |
---|---|---|---|
|
Optional | none | Indicates that the tool should overwrite any already existing file with the same name as specified in the path argument. All parts of the existing file (path.part0.zip, path.part1.zip, and so on) are also deleted. |
|
Optional | none | The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file. |
|
Optional | none | 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 where the item should be exported. |
|
Required | none | The user performing the export should be a Library Administrator. The name of the user needs to include the user's domain name, for example DOMAIN\user or user@domain, unless the user is part of the configured default domain. |
|
Optional | true | Specifies if access rights should be exported. |
| Optional | true | Specifies whether contents are exported in compressed format. Set to false when the exported file is imported on a server where library compression is not supported. |
|
Required | none | Indicates which item types should be
exported from the library. You can export all items, or all items of
a certain type, from a folder. Also, you can export a single item of a
certain type. When exporting the content of a folder, valid values are:
When exporting a single item, valid values are, for example:
|
|
Required | none | The path in the library where the content is exported from. When exporting folder content, a path to the folder must be specified. When exporting a single item, a path to that specific item must be specified. The path must start with a slash (/). If the entire library should be exported, the path should be "/". |
|
Optional | false | To specify if the given library path is to be treated as a single item. |
Parent topic: Command-line reference