Though for this particular conversion you just need to unzip them:
gunzip *nii.gz
Mark Jenkinson wrote:
> Yes.
> Script it.
>
> For example:
> for fn in *.nii.gz ; do fslchfiletype NIFTI $fn ; done
>
> All the best,
> Mark
>
>
> On 15 Dec 2009, at 15:31, Daniel Campbell-Meiklejohn wrote:
>
>> Heya
>>
>> Very simple question. I would like to convert all the nii.gz files in
>> a directory to .nii.
>>
>> fslchfiletype NIFTI * only changes the first file in the
>> directory and leaves the others in
>> their original format.
>>
>> Is there a way to make it convert ALL the files in the directory?
>>
>> Cheers,
>> Dan
>>
--
imalone
|