TIBCO Spotfire® Server and Environment - Installation and Administration

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
-b value
--bootstrap-config=value
Optional none The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file.
-t value
--tool-password=value
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.
-u value
--user=value
Required none This command is executed as the provided user. This user must have a library administrator role.
-q value
--search-query=value
Required none The library search query used to select the item versions to delete.
-c <true|false>
--keep-commented-versions=<true|false>
Optional true Controls whether library item versions with comments should be deleted.
-n <true|false>
--keep-named-versions=<true|false>
Optional true Controls whether library item versions with names should be deleted.
-a value
--keep-created-after=value
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".
-s
--keep-smaller-than=value
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.
-f
--force
Optional none Indicates whether the library versions should be deleted without need for further confirmation.