#!/bin/sh
_FILETYPES="*.aux *.dvi *.log  *.toc *.bbl *.blg *.pdfsync *.out *.nav *.snm"
echo "cleanlatex ${_FILETYPES} "
rmthings=`ls ${_FILETYPES} 2> /dev/null`
if [ "${rmthings}" != "" ]
	then
	trash $rmthings
	else
	echo "nothing to clean"
fi

