On Fri, 11 Feb 2011, Alex Young wrote: > Here's what I use: > > > DIRTOTAL=`ls $PATH | grep [^*$] -c` > if [ $DIRTOTAL -ne 0 ]; then if test $(find $DIR -type f | wc -l) -gt 0; then # whatever fi -- Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/