This subcommand compares the contents of two folders.
You must specify -union, -intersection, or -not_in.
About this task
ccm folder -comp|-compare ([-un|-union] | [-int|-intersection] |
[-not|-not_in]) [-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] folder_spec1 folder_spec2
- -ch|-column_header
- Specifies to use a column header in the output format. See -ch|-column_header for details.
- folder_spec1
- Specifies the first folder to be compared. See Folder specification for details.
- folder_spec2
- Specifies the second folder to be compared. See Folder specification 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.
- -int|-intersection
- Specifies the folder comparison to show the tasks that are in both folders.
- -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|-no_sort
- Specifies not to sort the command output. See -ns|-nosort for details.
- -not|-not_in
- Specifies the folder comparison to show the tasks in folder_spec1 that are not in folder_spec2.
- -sep|-separator separator
- Specifies a different separator character. See -sep|-separator for details.
- -sby|-sortby sortspec
- Specifies how to sort the command output. See -sby|-sortby for details.
- -un|-union
- Specifies the folder comparison to show the tasks that are in either of the two folders.
- -u|-unnumbered
- Suppresses automatic numbering of the command output. See -u|-unnumbered for details.
Example
- Show the tasks that are in either folder 154 or folder 155.
ccm folder -compare -union 154 155
1) Task 12: System error when time zone changes
2) Task 15: Correct spelling errors in output
3) Task 19: Rewrite messaging module
4) Task 26: Close box no longer active
5) Task 31: Wrong window receives message
6) Task 40: Auto-calculation gives incorrect result
7) Task 53: Download of images occurs too slowly
- Show the tasks that folders 154 and 155 have in common.
ccm folder -comp -int 154 155
1) Task 15: Correct spelli304
ng errors in output
2) Task 19: Rewrite messaging module
3) Task 26: Close box no longer active
4) Task 40: Auto-calculation gives incorrect result
- Show the tasks that are in folder 154, but not in folder 155.
ccm folder -compare -not_in 154 155
1) Task 12: System error when time zone changes
2) Task 31: Wrong window receives message