Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.
MERGE LABEL FILES INTO A NEW FILE
wb_command -label-merge
<label-out> - output - the output label
[-label] - repeatable - specify an input label
<label-in> - a label file to use columns from
[-column] - repeatable - select a single column to use
<column> - the column number or name
[-up-to] - use an inclusive range of columns
<last-column> - the number or name of the last column to include
[-reverse] - use the range in reverse order
Takes one or more label files and constructs a new label file by
concatenating columns from them. The input files must have the same
number of vertices and the same structure.
Example: wb_command -label-merge out.label.gii -label first.label.gii
-column 1 -label second.label.gii
This example would take the first column from first.label.gii and all
subvolumes from second.label.gii, and write these to out.label.gii.