The UNIX system and Linux examples in this section are written for use in csh. If you use another shell, you may 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 may 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.
Remove a folder that contains a subfolder, moving the subfolder to a new location.
cmd-context rmfolder –f top
cleartool: Error: Cannot remove folder that has sub projects or folders.
cleartool: Error: Unable to remove folder "top".
cmd-context lsfolder –l topfolder "top"
2007-09-07T10:20:08 by Smith
"My Top Level Folder."
owner: Smith
group: user
title: Top
contains folders:
parsers
contains projects:
cmd-context chfolder –to RootFolder parsers
Changed folder "parsers".
cmd-context rmfolder top
Remove folder "top"? [no] yes
Removed folder "top".