#! /bin/csh -f

set VERSIONNAME=diss_${1}.tar

echo "  Creating $VERSIONNAME \!"
echo Test
echo "The Version $VERSIONNAME was created " > timeOfCreation.txt
echo -n "on Date      : "  >> timeOfCreation.txt
date >> timeOfCreation.txt
echo >> timeOfCreation.txt
echo -n "from Author  : "  >> timeOfCreation.txt
finger | grep console | cut -d' ' -f8-9  >> timeOfCreation.txt

tar cvf $VERSIONNAME Pictures/*/*.eps Pictures/*/*.sda  BibFiles* *.tex *.ist timeOfCreation.txt mkVersionLT  
 
echo " Move version to directory ! "
mv $VERSIONNAME ./Versions

echo " Zip Version ! "
gzip ./Versions/$VERSIONNAME

