Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ remove_directory(8cds) — DCE 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

remove directory(8cds)  —  Maintenance

NAME

remove directory - Removes a value from a set-valued or single-valued attribute of a directory

SYNOPSIS

cdscp remove directory directory-name attribute-name [= attribute-value]

ARGUMENTS

directory-name
The full name of the directory.

attribute-name
The name of a particular attribute.  Specify only one attribute at a time. See the cds_attributes file for the list of attributes and corresponding data types that your application uses. 

= attribute-value
The value of a particular attribute.  The value of an application-defined attribute is dependent on the type of attribute.

DESCRIPTION

The remove directory command removes a value from a set-valued or single-valued attribute (including application-defined attributes) of a directory.  If you do not specify a value, the command removes the entire attribute.  This command can delete attributes created by the add directory and set directory commands.  Usually this task is performed through the client application.  See the OSF DCE Administration Guide for more information about attributes. 

Privileges Required

You must have w (write) permission to the directory. 

NOTES

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

EXAMPLES

To remove the value 1 from the user-defined, set-valued attribute dirregion of a directory named /.:/sales, follow these steps:

     1.Read the cds_attributes file to make sure that the attribute dirregion is listed, as shown in the following:

    OID           LABEL         SYNTAX
1.3.22.1.3.66   dirregion       small

     2.Enter the following command to remove the value 1 from the attribute dirregion:

cdscp> remove directory /.:/sales dirregion = 1

RELATED INFORMATION

Commands:

add_directory(8cds), list_directory(8cds), set_directory(8cds), set_directory_to_skulk(8cds), show_directory(8cds). 

Books: OSF DCE Administration Guide. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026