# Bestimmen des Dateityps typ=`file $1` case "$typ" in "$1: GNU Tar archive") echo "Tar Archiv" tar tvf $1 ;; esac exit 0