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
MERGE VOLUME FILES INTO A NEW FILE
   wb_command -volume-merge
      <volume-out> - output - the output volume file

      [-volume] - repeatable - specify an input volume file
         <volume-in> - a volume file to use subvolumes from

         [-subvolume] - repeatable - select a single subvolume to use
            <subvol> - the subvolume number or name

            [-up-to] - use an inclusive range of subvolumes
               <last-subvol> - the number or name of the last subvolume to
                  include

               [-reverse] - use the range in reverse order

      Takes one or more volume files and constructs a new volume file by
      concatenating subvolumes from them.  The input volume files must have the
      same volume space.

      Example: wb_command -volume-merge out.nii -volume first.nii -subvolume 1
      -volume second.nii

      This example would take the first subvolume from first.nii, followed by
      all subvolumes from second.nii, and write these to out.nii.