delete-library-versions
Deletes library versions.
delete-library-versions
[-b value | --bootstrap-config=value]
[-t value | --tool-password=value]
<-u value | --user=value>
<-q value | --search-query=value>
[-c <true|false> | --keep-commented-versions=<true|false>]
[-n <true|false> | --keep-named-versions=<true|false>]
[-a value | --keep-created-after=value]
[-s value | --keep-smaller-than=value]
[-f | --force]
Overview
Use this command to delete versions of items in 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 | 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 for more information. |
|
Required | none | This command is executed as the provided user. This user must have a library administrator role. |
|
Required | none | The library search query used to select the item versions to delete. |
|
Optional | true
|
Controls whether library item versions with comments should be deleted. |
|
Optional | true
|
Controls whether library item versions with names should be deleted. |
|
Optional | none | Selects the library versions to delete
based on a specified library search expression for the keyword
created . For example,
"a month ago" or
"2 weeks ago".
|
|
Optional | none | Selects the library versions to delete based on a library search expression determining the max content size to keep. For example, 500KB, 1000. |
|
Optional | none | Indicates whether the library versions should be deleted without need for further confirmation. |
Parent topic: Command-line reference