The problem here is that SZ*.nii presumably refers to a list of files due to 
shell expansion. I don't know how recon-all handles that (e.g. if it will take 
only the first file in the list, or all files), but that command probably won't 
do what you want it to.

________________________________________
From: freesurfer-boun...@nmr.mgh.harvard.edu 
[freesurfer-boun...@nmr.mgh.harvard.edu] on behalf of Anupa AV 
[av.an...@yahoo.com]
Sent: Saturday, September 07, 2013 5:56 AM
To: KOOL; Freesurfer
Subject: [Freesurfer] recon-all for multiple subjects

Dear Sir,
I'd like to know the command lines for running recon-all for multiple datasets.
Can you please help me on that?

I've tried using the following command lines

cd /home/john/Anu (where I kept all the .nii files)

for x in *
do
recon-all -i SZ*.nii -s $x -all
done

But this is not working

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


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to