FreeSurfer-Scripts is a project mainly written in Shell, it's free.
dangerous shell scripts to handle freesurfer jobs
Freesurfer is a tool for processing and visualizing brain imaging data. This/these scripts are intended to simplify the process of running routine jobs against data.
Note: if I understood freesurfer better I probably wouldn't need these. :)