You can create a symbolically linked object in the database or a controlled symbolic link from file_spec to path_name. This subcommand is available to UNIX users only.
About this task
ccm ln [-s] [-c|-comment comment_string] [-ce|-commentedit]
[-cf|-commentfile file_path] [-t|-task task_spec] file_path file_spec
- -c|-comment comment
- Specifies a comment that will be appended on all baseline projects and their members when they are checked in to the released state. The comment can contain more than one line and accepts backslash encoded values.
- You can use this option with -commentedit and -commentfile. If you use the -commentedit option, the comment displays in the default text editor.
- -ce|-commentedit
- Specifies that the default text editor will be invoked to allow the comment to be composed and edited. The result saved from the text editor is used as the final comment. You can use this option with the -comment and -commentfile options.
- -cf|-commentfile file_path
- Specifies that the contents of the specified file will be used for the comment. If you specified -comment, it is appended to that comment. You can use this option with the -commentedit option.
- file_spec
- Specifies the name or the name and version of the symbolic link. The file_spec must provide a context project and parent directory. You may use a work area reference form or project reference spec form (see File specification for details). If a version is not specified, then a default version is used.
- file_path
- Specifies the path to which the symbolic link points. This does not have be to a controlled file or a path in a maintained work area.
- -s
- Provides UNIX-style compatibility; otherwise, the option is ignored.
- -t|-task <task_spec>
- Specifies that the symbolic link is associated with the specified task. You can set the task_spec to a single task (see Task specification for details). If this option is not specified, the symbolic link is associated with any current task that is set.