Hi Anupa
you need to specify each input volume with -i if there are more than one.
In your example you would need an inner loop of the form
set inputs = ()
foreach vol (SZ*.nii)
set input = ($inputs -i $vol)
end
recon-all $inputs ...
cheers
Bruce
On Wed, 17 Apr 2013, Anupa AV wrote:
Dear All,
I want to run recon-all for multiple subjects.
I named my sbjects as SZ01.nii, SZ02.nii etc.
After setting the cd and environmanet variable, I ran using following for loop:
>for x in *
> do
>recon-all -i SZ*.nii -s $x -all
>done
I got the following error: WHAT MIGHT BE THE REASON FOR