PreviousNext

Changing a Soft Link's Destination Name

Use the dcecp program's link modify command to specify a new value for a soft link's CDS_LinkTarget attribute and redirect the soft link from its current destination name to some other name in the namespace.

To change a soft link's destination name, you must have write permission to the soft link.

For example, the following command redirects a soft link that is named /.:/admin/work_disk from its current destination name to the new destination name /.:/admin/work_disk03:

dcecp> link modify /.:/admin/work_disk -change {CDS_LinkTarget /.:/admin/work_disk03}
dcecp>