try making it executable,

chmod a+x mri_binarize

then run rehash and see if it work


On 2/24/17 12:13 AM, Jinsong Tang wrote:
Dear all,

I am trying to run a mri_binarize command on FS 5.3 

  mri_binarize --i aparc+aseg.mgz --gm --o gmmask.mgz
  I obtain this:
   ERROR: Option –gm unknown

I found there was a previous post suggest to use the new mri_binarize from 
https://gate.nmr.mgh.harvard.edu/safelinks/greve/mri_binarize

I download this one, and replace the old one with this new one.

however, I obtian this:
mri_binarize : command  not found.

How to fix this? 

Thanks and best,

Jinsong


_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer