此内容没有您所选择的语言版本。
Chapter 3. Import and Edit a VDB Interactively
This sample shows you how to import the SampleVDB and how to then edit it to set a property (in this case the VDB version).
Figure 3.1. Code sample
Explanation of the Commands Used in this Example
- list
- shows all children at the CLI workspace context. (The workspace in this example initially contains no children.)
- upload-vdb SampleVDB ./SampleVDB-vdb.xml
- upload the SampleVDB-vdb.xml file found in the vdbbuilder directory.
- list
- list the workspace children again (it now contains the SampleVDB).
- cd SampleVDB
- change into the SampleVDB directory.
- show-properties
- shows the VDB’s properties.
- set-property version 2
- sets the version to '2'.
- show-properties
- shows the VDB properties again. Note that the version is now '2'.
- workspace
- navigate to the workspace root context.
- list
- list the workspace children.