Use this command to find all projects with a specified
character string in their work area paths, and to replace the character
string.
About this task
ccm wa|work_area -find find_string -replace new_string [-s|-sh|-show]
[-reg|-regexp] [-visible] [-f|-format format] [-nf|-noformat]
([-ch|-column_header] | [-nch|-nocolumn_header])
[-sep|-separator separator] [-sby|-sortby sortspec]
[-ns|-nosort|-no_sort] [-gby|-groupby groupformat] [-u|-unnumbered]
project_spec...
- -ch|-column_header
- Specifies to use a column header in the output format. See -ch|-column_header for details.
- -f|-format format
- Specifies the command output format. See -f|-format for details.
- -gby|-groupby groupformat
- Specifies how to group the command output. See -gby|-groupby for details.
- -nch|-nocolumn_header
- Specifies not to use a column header in the output format. See -nch|-nocolumn_header for details.
- -nf|-noformat
- Specifies not to use column alignment. See -nf|-noformat for details.
- -ns|-nosort|-no_sort
- Specifies not to sort the output. See -ns|-nosort for details.
- project_spec...
- Specifies the project. See Project grouping specification for details.
- -reg|-regexp
- Indicates that new_string and find_string are
regular expressions.
- You can use this option only with the -find option.
- -replace new_string
- Substitutes new_string for find_string in
the work area paths of all of the projects found when using the -find find_string option.
- Use the -reg option if you want to use a regular
expression (for example, ".*") for new_string.
- You can use this option only with the -find option.
- -sby|-sortby sortspec
- Specifies how to sort the command output. See -sby|-sortby for details.
- -sep|-separator separator
- Used only with the -format option. Specifies
a different separator character. See -sep|-separator for details.
- -s|-sh|-show
- If the -show option is specified, the command
lists all of the specified projects. The output is sorted and numbered
by default.
- If the -show option is not specified, no projects
are listed and the query selection is not modified.
- -u|-unnumbered
- Suppresses automatic numbering of the output (the output is not
numbered). See -u|-unnumbered for details.
- -visible
- Indicates to consider only visible work areas for update.