listfolder

You can use the listfolder command to view the folders in a directory.

Syntax and command line options

Before you run the command, you must spceify details of the folder that you want to view. You must have the list or list and display access to the folders. For more information about security access roles, see Security role definition. You can enter the command as follows:
ocli plan listfolder | lf = <foldername>

The details that are required with each parameters are as follows:

foldername

Use the forward slash ("/") to see all the folders in the directory. If you specify a folder name after the forward slash, all the folders saved under the specified folder are listed. To see all the folders in a tree structure, specify the at sign ("@").

Examples

  1. To list all folders in the root, run the command:
    ocli plan listfolder /
  2. To list all folders contained in the folder named "Test", run the command:
    ocli plan listfolder /Test/
  3. To list all folders and sub-folders contained in the folder named "Test", run the command:
    ocli plan listfolder /Test/@