#!/bin/bash

    for i in /tmp/*; do
	    if [ -d $i ]; then
		rm -r -f $i
		break
	    fi

	    rm -f $i
    done

    for i in /tmp/.*; do
	    rm -r -f $i 2> /dev/null
    done
		    