PreviousNext

set link(8cds)

Changes the value of a modifiable, single-valued attribute of a soft link

Synopsis

cdscp set link link-name attribute-name = attribute-value

Arguments

link-name
The full name of the soft link.

attribute-name
The name of the attribute to be modified. Specify only one attribute at a time. See Description for valid attribute names.

attribute-value
The value of a particular attribute.

Description
The set link command changes the value of a modifiable, single-valued attribute of a soft link. The following are valid attributes:

CDS_LinkTarget = fullname
Specifies the full name of the directory, object entry, or other soft link to which the soft link points.

CDS_LinkTimeout = (expiration-time extension-time)
Specifies a timeout value after which the soft link is either checked or deleted. The timeout value contains both an expiration time and an extension time. If a soft link expires and its target entry is deleted, the soft link is deleted. If the soft link still points to an existing entry, its life is extended by the expiration time. Specify expiration-time in the format yyyy-mm-dd-hh:mm:ss (year-month-day-hour:minute:second). Specify extension-time in the format ddd-hh:mm:ss (day-hour:minute:second).

Privileges Required
You must have w (write) permission to the soft link.

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 redirects a soft link named /.:/admin/work_disk from its current destination name, /.:/admin/work_disk01, to a new destination name, /.:/admin/work_disk03.

cdscp> set link /.:/admin/work_disk CDS_LinkTarget = /.:/admin/work_disk03

Related Information
Commands:

create link(8cds)

delete link(8cds)

list link(8cds)

show link(8cds)