Users Guide
Command-line interface syntax
The following chapter describes the syntax for the commands that you can use in command-line interface(CLI) mode:
Consider the following points for using DRM through CLI:
• (For Linux users only) Ensure that you have Read and Write access to the drmuser account in the particular directory including all
sub level directories when you want to export, import, or download a repository, add a catalog, update a plugin or configure the
storage location in Application Preferences.
• When performing any operations on a repository, if the repository version is not specified, the operations are performed on the latest
version of the repository.
• To update, delete, or import a specific repository use the repository name with version in the following format: <repository
name>:<repository version>
• For running any DRM operations, ensure that you provide the recurring read and write access to local share folders in Linux operating
system.
For example, the create repository and import and export operations require the read and write access for the local share folders.
• Run all the commands on Windows operating system using / or - character.
• To use a network path, provide the authentication attribute in the following format: --authentication="domain\username:password"
For OMIVV console, provide username@domain:password
• All the CLI operations are limited to a single repository.
• Selection of bundles is not supported in CLI.
• Nowait attribute can be used with export, scheduled refresh, and plug-in update.
• If source and catalog attributes are not used for repository creation, then the latest Enterprise catalog is considered as base catalog.
• If you have defined the port number for integration type, ensure that you specify the port number while creating a repository.
Table 4. Commands
Description Command Full form Example
Launching DRM
Open DRM in a Graphical User Interface
(GUI) mode.
drm
NA
drm
Commands to display details in DRM
Display the current version of DRM.
drm -v drm --version drm --version
Display help menu.
drm -h drm --help drm --help
Display the list of all repository names,
latest version, size, and the latest date
when it was modified.
drm -li=rep drm --list=rep drm --list=rep
Display all console integration types.
drm -li=integration-type drm --list=
integration-type
drm --list=
integration-
type
Displays all available categories
drm -li=category drm --list=category drm -
li=category
Displays all the categories for a specific
repository version
drm -li=category -
r=<repository
name>:<version>
drm --list=category
--
repository=<repositor
y name>:<version>
drm -
li=category -
r=repo1:1.01
Displays all available catalogs
drm -li=catalogs drm --list=catalogs drm -
li=catalogs
A
28 Command-line interface syntax