set link(8cds) — Maintenance
NAME
set link - 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-nameThe 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 following format:
yyyy-mm-dd-hh:mm:ss
Specify extension-time in the following format:
ddd-hh:mm:ss
Privileges Required
You must have w (write) permission to the soft link.
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
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).