Script it!
For example:
for fn in 000*.nii.gz ; do fslchfiletype ANALYZE $fn ; done
All the best,
Mark
On 1 Dec 2009, at 23:28, Gad Klein wrote:
> Can fslchfiletype be used to convert multiple .nii.gz files into
> analyze files in
> one shot? I have multiple nifti files in a single folder beginning
> with 0001, 0002,
> etc so I tried I tried using the fslchfiletype command and used a
> wild card with
> no output file option. Obviously didn't work as it seems to be
> looking for a
> specific .nii.gz file and said it couldn't find 000*.nii.gz
>
> If it can't be done with fslchfiletype anyone have a different way
> to do it?
>
> Thanks
> GK
>
|