chfolder
Applicability
Product |
Command type |
---|---|
ClearCase® |
cleartool subcommand |
Platform |
---|
UNIX |
Linux |
Windows |
Synopsis
Description
The chfolder command moves a folder to another location in the folder hierarchy of a project VOB. The RootFolder cannot be moved.
For information about changing the folder's name, see rename.
Options and arguments
Event records and comments
- Default
- Creates one or more event records, with commenting controlled by your .clearcase_profile file (default: –nc). See the comments reference page. Comments can be edited with chevent.
- –c/omment comment | –cfi/le comment-file-pname |–cq/uery | –cqe/ach | –nc/omment
- Overrides the default with the option you specify. See the comments reference page.
Specifying the destination of a folder
Examples
The UNIX system and Linux examples in this section are written for use in csh. If you use another shell, you might need to use different quoting and escaping conventions.
The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you might need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the UNIX system and Linux shells or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.
- Make the folder Core_Parsers a
subfolder of RootFolder. Note that the folder's project
VOB is given as the VOB component of the folder-specifier.
cmd-context chfolder -to RootFolder Core_Parsers@/vobs_core
Changed folder "Core_Parsers@/vobs_core".