#!/bin/sh
#                        ------  CCREN  -------------- July 1999
mkdir $1 
mv $1.fre $1/$1.fref  
mv $1.car $1/$1.card3   
mv $1.she $1/$1.shelx   
mv $1.hkl $1/$1.hkl     
mv $1.cry $1/$1.crysin  
mv $1.res $1/$1.res     
mv $1.ins $1/$1.ins     
mv $1.atm $1/$1.atmod   
mv $1.ato $1/$1.atoms   
mv $1.atl $1/$1.atlit   
mv $1.*   $1         
if [ ! -f $1/$1.crysin ]; then  
   rmdir -r $1
   echo "File $1.cry missing! Directory $1 not made or removed ! "
else
   echo Store and rename files in directory ccall / $1
   fi
