#! /bin/sh

cd /home/username/Desktop/Trash/
FINDLOG=`find -not -name .directory -not -name . -maxdepth 1 -amin +180`

for i in $FINDLOG
do
    rm -rf -- $i
done

exit 0

    Source: geocities.com/evilmrhenry