3dMINCtoAFNI.sh

usage: 3dMINCtoAFNI.sh [-f] [-d destinationDir] mincFile(s) mincDir(s)...

convert minc files and put the resultant afni files in a common destination directory. Arguments are any combination of files and directories. Directories are searched recursively. The protocol field from the minc header is propagated to the afni header in the form of a Note.

options:
  1. -d destinationDir
  2. -f force overwrite
defaults:
  1. destinationDir is current dir
  2. overwrite is off
examples:
  1. 3dMINCtoAFNI.sh -d PGP_RT78/afni PGP_RT78/minc/*trio*
    convert the functional series taken fron the trio scanner and put the results in PGP_RT78/afni
  2. 3dMINCtoAFNI.sh -f PGP_RT78/minc/pgp_rt78-56.mnc
    convert PGP_RT78/minc/pgp_rt78-56.mnc into ./afni/pgp_rt78-56+org.HEAD and ./afni/pgp_rt78-56+org.BRIK, overwiting if necessary.
dependencies: 3dMINCtoAFNI 3dNotes mincinfo echo mv mkdir basename

notes: destination directory is created if nonexistent