Comparing folders

About this task

This subcommand compares the contents of two folders.

You must specify -union, -intersection, or -not_in.

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 sc_r_h_unnumbered_fs.html#__wp819979 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 sc_r_h_unnumbered_fs.html#__wp826148 for details.
-gby|-groupby groupformat
Specifies how to group the command output. See sc_r_h_unnumbered_fs.html#__wp819660 for details.
-int|-intersection
Specifies that the folder comparison will show the tasks that are in both folders.
-nch|-nocolumn_header
Specifies not to use a column header in the output format. See sc_r_h_unnumbered_fs.html#__wp819979 for details.
-nf|-noformat
Specifies not to use column alignment. See sc_r_h_unnumbered_fs.html#__wp826095 for details.
-ns|-no_sort
Specifies that the command's output will not be sorted. See sc_r_h_unnumbered_fs.html#__wp819323 for details.
-not|-not_in
Specifies that the folder comparison will show the tasks in folder_spec1 that are not in folder_spec2.
-sep|-separator separator
Specifies a different separator character. See sc_r_h_unnumbered_fs.html#__wp826071 for details.
-sby|-sortby sortspec
Specifies how to sort the command output. See sc_r_h_unnumbered_fs.html#__wp827516 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's output (that is, the output is un-numbered). See sc_r_h_unnumbered_fs.html#__wp827924 for details.

Examples

About this task

  • 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


Feedback