Using Workbench Command

Workbench Command is a set of command-line tools that can be used to perform simple and complex operations within Connectome Workbench.

Full Documentation:

Documentation Home
MAKE ROIS FROM ALL LABELS IN A GIFTI COLUMN
   wb_command -gifti-all-labels-to-rois
      <label-in> - the input gifti label file
      <map> - the number or name of the label map to use
      <metric-out> - output - the output metric file

      The output metric file has a column for each label in the specified input
      map, other than the ??? label, each of which contains an ROI of all
      vertices that are set to the corresponding label.