PreviousNext

list directory(8cds)

Displays a list of all the directories whose names match the specified directory name

Synopsis

cdscp list directory directory-name
[with attribute-name = attribute-value]

Arguments

directory-name
The full name of a specific directory. The last simple name can contain wildcard characters.

with attribute-name
The name of a particular attribute.

attribute-value
The value of a particular attribute.

Description
The list directory command displays a list of all the directories whose names match the specified directory name. The last simple name can contain wildcards. You can use a with attribute-name = attribute-value clause to limit output only to directories whose attributes have values equal to the specified values. A space must precede and follow the = (equals sign).

Privileges Required
You must have r (read) permission to the parent directory. If you use a with attribute-name = attribute-value clause in the command, you also need r (read) or t (test) permission to the selected directories.

Notes
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.

Examples
The following command displays the names of all the directories in the /.:/sales directory:

cdscp> list directory /.:/sales/*

LIST
DIRECTORY /.../abc.com/sales
AT 1991-10-15-15:43:58
atlanta
austin
boston
chicago
ontario
ny
seattle

Related Information
Commands:

add directory(8cds)

create directory(8cds)

delete directory(8cds)

remove directory(8cds)

set directory(8cds)

set directory to skulk(8cds)

show directory(8cds)