Hi there,

Are there any Freesurfer utilities that I can use to query the file type of an image directly?  i.e., more directly than mri(s)_info.  The problem is that mris_info barfs when it gets an image that isn't a proper "surface" file, and I'd like something that is maximally flexible.  Ideally, there would be a program I could run that will just return the file type for surface, volume, or curv files.  Thanks!

Best,
Mike