PreviousNext

delete directory(8cds)

Deletes a directory

Synopsis

cdscp delete directory directory-name

Arguments

directory-name
The full name of the directory.

Description
The delete directory command deletes a directory. The directory cannot contain any object entries, soft links, or child pointers. The master replica must be the only remaining replica in the cell. Use the delete replica command if you need to remove read-only replicas.

Privileges Required
You must have d (delete) permission to the directory and w (write) permission to the clearinghouse that stores the master replica of the directory. The server principal needs A (Admin) permission to the parent directory or d (delete) permission to the child pointer that points to the directory you intend to delete.

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 deletes the directory /.:/eng from the namespace:

cdscp> delete directory /.:/eng

Related Information
Commands:

create directory(8cds)

delete replica(8cds)

list directory(8cds)

set directory(8cds)

set directory to skulk(8cds)

show directory(8cds)