List Commands
The dicfg list command itemizes certain resources on the DiveLine server, such as ACLs, files and sub-directories in a directory, users, and groups. The command has the following sub-commands. Click a command name to display a description, including any additional command options.
| Command | Description |
|---|---|
| dicfg list aliases | Lists all aliases. |
| Command | Description |
|---|---|
| dicfg list default_acl | Lists all default ACLs |
|
-object <name> -user <name>
|
Lists default ACLs for the named object (for example, model or marker) and user. |
| Command | Description |
|---|---|
| dicfg list groups | Lists all groups. |
|
-user <name>
|
Lists all groups that include the named user. |
| Command | Description |
|---|---|
| dicfg list objects | |
|
-directory <path>
|
Lists all DiveBooks, DivePlans, models, markers, text files, and subdirectories in the named directory. |
|
-directory <path> -types
|
Specifies which objects in the named directory are files, denoted with an f, and which objects in the named directories are sub-directories, denoted with a d. |
| Command | Description |
|---|---|
| dicfg list users | Lists all users. |
| Command | Description |
|---|---|
| dicfg list users_detail | |
|
> <path><filename>.txt
|
Lists detailed information about all users in <filename>.txt, with column headings, including:
Multiple values in a column are separated by commas. TIP: When working with Chinese characters, sending the output to a file ensures the data is correctly in the UTF-8 encoding. |
Sample list commands:
dicfg -dataroot c:\di\solution\dl-dataroot list users > divelineusers.txt
dicfg list default_acl -object hr
dicfg list default_acl -object hr -user mike