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
CONVERT METRIC FILE TO FAKE NIFTI
   wb_command -metric-convert

      [-to-nifti] - convert metric to nifti
         <metric-in> - the metric to convert
         <nifti-out> - output - the output nifti file

      [-from-nifti] - convert nifti to metric
         <nifti-in> - the nifti file to convert
         <surface-in> - surface file to use number of vertices and structure
            from
         <metric-out> - output - the output metric file

      The purpose of this command is to convert between metric files and nifti1
      so that gifti-unaware programs can operate on the data.  You must specify
      exactly one of the options.