Dear FS developers,

I wish to transform DICOM format to omgz format.

However, we have problem when we tried to do recon-all command. 

The error is as follow:

bash-3.2$ export FREESURFER_HOME=/applications/freesurfer
bash-3.2$ source $FREESURFER_HOME/SetUpFreeSurfer.sh
-------- freesurfer-Darwin-OSX-stable-pub-v6.0.0-2beb96c --------
Setting up environment for FreeSurfer/FS-FAST (and FSL)
FREESURFER_HOME   /applications/freesurfer
FSFAST_HOME       /Applications/freesurfer/fsfast
FSF_OUTPUT_FORMAT nii.gz
SUBJECTS_DIR      /Applications/freesurfer/subjects
MNI_DIR           /Applications/freesurfer/mni
bash-3.2$ sudo recon-all -s 'aaa' -i /Users/Dannydeng/desktop/danny_mri/MR22022/DICOM/IM_0001
Password:
FREESURFER_HOME: Undefined variable.
bash-3.2$ 

Thanks.

Best Regards,
Danny Deng