#!/bin/tcsh -f
#

if ( "$#argv" > 0 ) then
   echo "Archive analysis results to archive"
   echo ""
   echo "Use:  Analysis2Archive"
   echo ""
   echo "Must be run at host 'asellus' from the analysis directory,"
   echo "or one of its root branches. Al directories below the"
   echo "current directory will be archived" 
   exit
endif

if ( `hostname` != 'asellus' ) then
   echo "Error, can only be executed on host 'asellus'"
   exit
endif 

/data/bin/runscript Analysis2Archive

