in reply to check *.tmp wether it's a zip or not

hmm,
I forgot to say that I tried(-T $tmp) but all tmp-files (that had been *.log, *.txt, *.zip) were recognized as non-plain/text files.

Carl