#####################################################################
https://pages.ucsd.edu/~msereno/csurf/fsaverage-labels/bin/README.txt
#####################################################################

------------
update-csurf
------------

This sh script downloads and installs the latest csurf distribution into
the current directory.  If there is already a "csurf" directory present,
it will be moved aside/renamed with a date suffix from the tarfile from
which is was unpacked.  The latest csurf will always be installed as just
"csurf".

Run it as follows:

  cd <directory_in_which_to_install_or_update_csurf>
  update-csurf go

On Mac, you may need to remove the quarantine metadate attribute after
the installation, if you get an error like, "wish8.5 not opened/damaged".
Use this command (will ask for passwd):

  cd <directory_where_you_installed_or_updated_csurf>
  sudo xattr -r -d com.apple.quarantine csurf"

----------------
update-fsaverage
----------------

This sh script installs the CsurfMaps1 parcellation (FreeSurfer labels
and GIFTI equivalents) into a writable copy of subject "fsaverage"
in the current $SUBJECTS_DIR.  It moves aside/renames the original
{rh,lh}.inflated_avg surfaces and {rh,lh}.area files with an ORIG suffix
before installing updated versions.  Finally, it adds less distorted
flattenings made from the fixed inflated_avg surfaces.

N.B.: both of these scripts are included in the standard csurf
distribution (in two locations):

  $CSURF_DIR/bin/noarch
  $CSURF_DIR/subjects/fsaverage-ADDITIONS/scripts

Run it as follows:

  if bash/zsh: export SUBJECTS_DIR=<directory_containing_writable_fsaverage>
  if csh/tcsh: setenv SUBJECTS_DIR <directory_containing_writable_fsaverage>
  update-fsaverage go

